Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5d16ea

Browse files
chore: remove initial call
the initial call duplicates work done in Walk
1 parenta56c827 commitf5d16ea

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
funcReadPatterns(fileSystem afero.Fs,pathstring) ([]gitignore.Pattern,error) {
48-
ps,_:=readIgnoreFile(fileSystem,path)
48+
varps []gitignore.Pattern
4949

5050
iferr:=afero.Walk(fileSystem,path,func(pathstring,info fs.FileInfo,_error)error {
5151
if!info.IsDir() {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp