Comparing version 0.2.1 to 0.2.2
@@ -9,5 +9,6 @@ 'use strict'; | ||
q.mv(oldPath, newPath); | ||
var res = q.mv(oldPath, newPath); | ||
console.log(res); | ||
}; | ||
test(); |
@@ -134,4 +134,8 @@ 'use strict'; | ||
fs.renameSync(oldPath, newPath); | ||
return true; | ||
}catch(e){ | ||
console.log(e); | ||
return; | ||
} | ||
@@ -138,0 +142,0 @@ }; |
{ | ||
"name": "qiao-file", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "nodejs file tool", | ||
@@ -24,3 +24,3 @@ "author": "uikoo9 <uikoo9@qq.com>", | ||
}, | ||
"gitHead": "ecc4ad7170e1362a9ef0a26b287b6db01425ee24" | ||
"gitHead": "351406b4394e71e571f10589f62911a34d76f7b8" | ||
} |
@@ -34,3 +34,4 @@ # qiao-file | ||
q.mv(oldPath, newPath); | ||
var res = q.mv(oldPath, newPath); | ||
console.log(res); | ||
}; | ||
@@ -37,0 +38,0 @@ |
@@ -39,4 +39,8 @@ 'use strict'; | ||
fs.renameSync(oldPath, newPath); | ||
return true; | ||
}catch(e){ | ||
console.log(e); | ||
return; | ||
} | ||
@@ -43,0 +47,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16377
548
204