Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c85f3d0

Browse files
committed
Do not search implicitly for a compose file
The user needs to explicitly give the path to the docker-compose file that they want to base the app on. Signed-off-by: Djordje Lukic <[email protected]>
1 parent 20a3441 commit c85f3d0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/packager/init.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ func Init(name string, composeFile string) (string, error) {
4545
return "", err
4646
}
4747

48-
if composeFile == "" {
49-
if _, err := os.Stat(internal.ComposeFileName); err == nil {
50-
composeFile = internal.ComposeFileName
51-
}
52-
}
5348
if composeFile == "" {
5449
err = initFromScratch(name)
5550
} else {

0 commit comments

Comments
 (0)