Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #62 from chenminjian/fix/mv
Browse files Browse the repository at this point in the history
fix(mv): dst filename error
  • Loading branch information
schomatis authored Feb 3, 2019
2 parents e1bb2be + d2472e6 commit 0217a3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gx/lastpubver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.38: QmR66iEqVtNMbbZxTHPY3F6W5QLFqZEDbFD7gzbE9HpYXU
0.1.39: QmVZdsKLHtcFBngw168x7bAMEV4a76u6AMvVzNXPKxPTBV
1 change: 1 addition & 0 deletions ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func Mv(r *Root, src, dst string) error {
_ = dstDir.Unlink(filename)
case *Directory:
dstDir = n
filename = srcFname
default:
return fmt.Errorf("unexpected type at path: %s", dst)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"license": "MIT",
"name": "go-mfs",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.1.38"
"version": "0.1.39"
}

0 comments on commit 0217a3a

Please sign in to comment.