Content-Length: 260051 | pFad | https://github.com/coder/coder/commit/f5d16eae5dd6367ca4f0d3ba7914cfd581fe2c21

6D chore: remove initial call · coder/coder@f5d16ea · GitHub
Skip to content

Commit f5d16ea

Browse files
chore: remove initial call
the initial call duplicates work done in Walk
1 parent a56c827 commit f5d16ea

File tree

1 file changed

+1
-1
lines changed
  • agent/agentcontainers/ignore

1 file changed

+1
-1
lines changed

agent/agentcontainers/ignore/dir.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func readIgnoreFile(fileSystem afero.Fs, path string) ([]gitignore.Pattern, erro
4545
}
4646

4747
func ReadPatterns(fileSystem afero.Fs, path string) ([]gitignore.Pattern, error) {
48-
ps, _ := readIgnoreFile(fileSystem, path)
48+
var ps []gitignore.Pattern
4949

5050
if err := afero.Walk(fileSystem, path, func(path string, info fs.FileInfo, _ error) error {
5151
if !info.IsDir() {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/coder/coder/commit/f5d16eae5dd6367ca4f0d3ba7914cfd581fe2c21

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy