Comparing version 0.3.2 to 0.3.3
@@ -138,3 +138,3 @@ const fs = require('fs') | ||
this.updatePath(newPath) | ||
if(await this.exists(newPath) && !replace) return null | ||
if(await Hotfile.exists(newPath) && !replace) return null | ||
await fs.promises.rename(oldPath, newPath) | ||
@@ -141,0 +141,0 @@ return this |
{ | ||
"name": "hotfile", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Hotfile makes working with folders and files in node-js easy and clear.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
13561