Skip to content

Commit ddcad98

Browse files
lilicjoelanford
andcommitted
internal/../project_util.go: Adjust error msg
We want to convey to the user that the commands must be run from the project root directory, but also that the operator must have certain files present otherwise we cannot execute the command. Co-Authored-By: Joe Lanford <[email protected]>
1 parent 4a9d5a5 commit ddcad98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/util/projutil/project_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func MustInProjectRoot() {
5050
// we are at the project root.
5151
_, err := os.Stat(buildDockerfile)
5252
if err != nil && os.IsNotExist(err) {
53-
log.Fatalf("must run command in project root dir: (%v)", err)
53+
log.Fatalf("must run command in project root dir: project structure requires ./build/Dockerfile: (%v)", err)
5454
}
5555
}
5656

0 commit comments

Comments
 (0)