Skip to content

Commit 2c852a2

Browse files
moveSync
1 parent 690260a commit 2c852a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/core/fs.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ function move(){
2323
return fs.move.apply(fs.move, arguments);
2424
}
2525

26+
function moveSync() {
27+
return fs.moveSync.apply(fs.moveSync, arguments);
28+
}
29+
2630
function appendFileSync() {
2731
return fs.appendFileSync.apply(fs.writeFileSync, arguments);
2832
}
@@ -92,6 +96,7 @@ module.exports = {
9296
copy,
9397
copySync,
9498
move,
99+
moveSync,
95100
readFile,
96101
readFileSync,
97102
appendFileSync,

0 commit comments

Comments
 (0)