hotfile
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -52,3 +52,4 @@ const fs = require('fs') | ||
static mkdirSync(path, options = { recursive: true }){ | ||
if(!p.extname(path) == "") | ||
const stat = fs.statSync(path) | ||
if(stat.isFile(path)) | ||
throw(new Error(`mkdirSync expects a folder path, but ${path} provided`)) | ||
@@ -55,0 +56,0 @@ let flag = true |
{ | ||
"name": "hotfile", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Hotfile makes working with folders and files in node-js easy and clear.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
15816
230