Comparing version 0.2.9 to 0.3.0
@@ -22,2 +22,3 @@ const fs = require('fs') | ||
fs.mkdirSync(path, options) | ||
flag = new Hotfile(path) | ||
} catch (e) { | ||
@@ -53,3 +54,3 @@ flag = false | ||
await fs.promises.mkdir(path, { recursive }) | ||
return true | ||
return new Hotfile(path) | ||
} catch (err) { | ||
@@ -56,0 +57,0 @@ console.log(err) |
{ | ||
"name": "hotfile", | ||
"version": "0.2.9", | ||
"version": "0.3.0", | ||
"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
13343
147