Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denik committed Dec 10, 2024
1 parent 122e6f5 commit 1789cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/folders/folders.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// FindDirWithLeaf returns the first directory that holds `leaf`,
// traversing up to the root of the filesystem, starting at `dir`.
func FindDirWithLeaf(dir string, leaf string) (string, error) {
p, err := filepath.Abs(p)
dir, err := filepath.Abs(dir)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 1789cca

Please sign in to comment.