htpasswd-mgr
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -5,3 +5,3 @@ { | ||
"description": "HTPasswd Manager for Node.js", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"repository": { | ||
@@ -22,4 +22,3 @@ "type": "git", | ||
"apache-crypt": "1.2.1", | ||
"apache-md5": "1.1.2", | ||
"underscore": "1.9.1" | ||
"apache-md5": "1.1.2" | ||
}, | ||
@@ -26,0 +25,0 @@ "engines": { |
@@ -23,4 +23,6 @@ 'use strict'; | ||
function readFile() { | ||
let htpasswdContents = fs.readFileSync(path, {encoding: 'utf8'}); | ||
parseFile(htpasswdContents); | ||
if (fs.existsSync(path)) { | ||
let htpasswdContents = fs.readFileSync(path, {encoding: 'utf8'}); | ||
parseFile(htpasswdContents); | ||
} | ||
return Promise.resolve(); | ||
@@ -27,0 +29,0 @@ } |
9129
2
101
- Removedunderscore@1.9.1
- Removedunderscore@1.9.1(transitive)