Skip to content

Commit

Permalink
Forgot to assign it back
Browse files Browse the repository at this point in the history
  • Loading branch information
AriehSchneier committed Nov 19, 2024
1 parent 4a0bf2b commit aecd1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gitfs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (g *gitMemFs) Open(name string) (afero.File, error) {
if os.PathSeparator != '/' {
// go-git requires paths be seperated by `/`
// see this line: https://github.com/go-git/go-git/blob/v5.12.0/plumbing/object/tree.go#L135
strings.ReplaceAll(name, string(os.PathSeparator), "/")
name = strings.ReplaceAll(name, string(os.PathSeparator), "/")
}
f, err := g.c.File(name)
if err != nil {
Expand Down

0 comments on commit aecd1a8

Please sign in to comment.