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

Commit 965bc43

Browse files
committed
Remove the *no .dockerapp* magic…
With this, an app *has to* end-up with `.dockerapp`, even for images. This means, `docker-app render foo` will always look for `foo.dockerapp`, *never* for a folder or file called `foo`. - This behavior is currently broken - It makes the behavior a bit weird/inconsistent. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e077d85 commit 965bc43

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

internal/packager/extract.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ func Extract(appname string) (ExtractedApp, error) {
120120
// try appending our extension
121121
appname = internal.DirNameFromAppName(appname)
122122
s, err := os.Stat(appname)
123-
if err != nil {
124-
// try verbatim
125-
s, err = os.Stat(originalAppname)
126-
}
127123
if err != nil {
128124
// look for a docker image
129125
return extractImage(originalAppname)

0 commit comments

Comments
 (0)