ahm-private-get-path
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -17,1 +17,11 @@ const fs = require('fs'); | ||
console.log("Show me project root: ", getProjectRootPath()) | ||
const dirUp = path => { | ||
if (path === '/') { | ||
return '/'; | ||
} | ||
return path | ||
.split('/') | ||
.slice(0, -1) | ||
.join('/'); | ||
}; |
{ | ||
"name": "ahm-private-get-path", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Nothing special!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
11379
23