ahm-private-get-path
Advanced tools
Comparing version 1.1.0 to 1.2.0
const fs = require('fs'); | ||
const dirUp = path => { | ||
if (path === '/') { | ||
return '/'; | ||
} | ||
return path | ||
.split('/') | ||
.slice(0, -1) | ||
.join('/'); | ||
}; | ||
function getProjectRootPath() { | ||
@@ -18,10 +28,1 @@ let cwd = process.cwd(); | ||
const dirUp = path => { | ||
if (path === '/') { | ||
return '/'; | ||
} | ||
return path | ||
.split('/') | ||
.slice(0, -1) | ||
.join('/'); | ||
}; |
{ | ||
"name": "ahm-private-get-path", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Nothing special!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
11466