commit
b61ffbfb52
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ func removeDockerfile(c modifiableContext, filesToRemove ...string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
excludes, err := dockerignore.ReadAll(f)
|
excludes, err := dockerignore.ReadAll(f)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
f.Close()
|
f.Close()
|
||||||
filesToRemove = append([]string{".dockerignore"}, filesToRemove...)
|
filesToRemove = append([]string{".dockerignore"}, filesToRemove...)
|
||||||
for _, fileToRemove := range filesToRemove {
|
for _, fileToRemove := range filesToRemove {
|
||||||
|
|
Loading…
Reference in a new issue