Skip to content

Commit

Permalink
don't pass nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Mendoza committed Apr 25, 2024
1 parent 560db0a commit 73733b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/mocktest/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func mkPaths(nodes ...node) paths {
return paths{}
}

staged, committed := rPaths(nil, nil, nodes)
staged, committed := rPaths(paths{}, paths{}, nodes)
if len(staged) > 0 {
panic(errors.New("unresolved path detected"))
}
Expand Down

0 comments on commit 73733b2

Please sign in to comment.