Skip to content

Commit f5bb85a

Browse files
committed
pathrs-lite: remove unneeded named returns
Fixes: 4c31345 ("pathrs-lite: move purego implementation into subpackage") Signed-off-by: Aleksa Sarai <[email protected]>
1 parent f5da9b8 commit f5bb85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pathrs-lite/mkdir_purego.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ import (
3737
// should use MkdirAllHandle.
3838
//
3939
// [SecureJoin]: https://pkg.go.dev/github.com/cyphar/filepath-securejoin#SecureJoin
40-
func MkdirAllHandle(root *os.File, unsafePath string, mode os.FileMode) (_ *os.File, Err error) {
40+
func MkdirAllHandle(root *os.File, unsafePath string, mode os.FileMode) (*os.File, error) {
4141
return gopathrs.MkdirAllHandle(root, unsafePath, mode)
4242
}

0 commit comments

Comments
 (0)