We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc5c37 commit 28b7836Copy full SHA for 28b7836
1 file changed
cmd/init.go
@@ -286,7 +286,9 @@ func (cmd *InitCmd) addDefaultSyncConfig() {
286
dockerignoreRules := strings.Split(string(dockerignore), "\n")
287
288
for _, ignoreRule := range dockerignoreRules {
289
- uploadExcludePaths = append(uploadExcludePaths, ignoreRule)
+ if len(ignoreRule) > 0 {
290
+ uploadExcludePaths = append(uploadExcludePaths, ignoreRule)
291
+ }
292
}
293
294
0 commit comments