Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar subraani committed Nov 22, 2023
1 parent 294e481 commit 332a8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kopia/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ func (c *Command) ExcludeFileListCmd() *exec.Cmd {
"--config-file",
configFile,
}
hashSplit := strings.Split(c.ExcludeFileList, "#")
for _, file := range hashSplit {
commaSplit := strings.Split(c.ExcludeFileList, ",")
for _, file := range commaSplit {
argsSlice = append(argsSlice, "--add-ignore")
argsSlice = append(argsSlice, file)
}
Expand Down

0 comments on commit 332a8f8

Please sign in to comment.