We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02074d9 commit 2120efaCopy full SHA for 2120efa
internal/cloud/cloud.go
@@ -240,6 +240,12 @@ func gitIgnorePaths(configDir string) ([]string, error) {
240
return nil, errors.WithStack(err)
241
}
242
243
- result = append(result, strings.Split(string(contents), "\n")...)
+ for _, line := range strings.Split(string(contents), "\n") {
244
+ line = strings.TrimSpace(line)
245
+ if !strings.HasPrefix(line, "#") && line != "" {
246
+ result = append(result, line)
247
+ }
248
249
+
250
return result, nil
251
0 commit comments