Skip to content

Commit a130910

Browse files
Fix staticcheck error messages
1 parent 1a217b9 commit a130910

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎agent/internal/build/build.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,10 @@ func resolveDockerfile(contextDir string, secrets map[string]string) (dockerfile
369369

370370
info, err := os.Stat(filepath.Join(contextDir, cleanedPath))
371371
if err != nil {
372-
return dockerfileConfig{}, fmt.Errorf("Dockerfile %s does not exist: %w", configuredPath, err)
372+
return dockerfileConfig{}, fmt.Errorf("dockerfile %s does not exist: %w", configuredPath, err)
373373
}
374374
if info.IsDir() {
375-
return dockerfileConfig{}, fmt.Errorf("Dockerfile path %s is a directory", configuredPath)
375+
return dockerfileConfig{}, fmt.Errorf("dockerfile path %s is a directory", configuredPath)
376376
}
377377
resolvedContextDir, err := filepath.EvalSymlinks(contextDir)
378378
if err != nil {

0 commit comments

Comments
 (0)