Skip to content

Commit

Permalink
Fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Leister committed Feb 8, 2017
1 parent fd5a36e commit 885b95c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 44 deletions.
5 changes: 2 additions & 3 deletions api/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var fs = require('fs');
var exec = require('child_process').exec;

const uuidV4 = require('uuid/v4');
var rmdir = require('rmdir');
var log = require('fancy-log');

var certdb = require('../certdb.js');
Expand Down Expand Up @@ -131,7 +130,7 @@ certificate.request = function(req, res){
}).then(function(){
// Clean up... Remove temporary files
if(fs.existsSync(tempdir)){
rmdir(tempdir);
fs.remove(tempdir, function(){});
}
});
};
Expand Down Expand Up @@ -187,7 +186,7 @@ certificate.revoke = function(req, res){
}).then(function(){
// Clean up... Remove temporary files
if(fs.existsSync(tempdir)){
rmdir(tempdir);
fs.remove(tempdir, function(){});
}
});
};
Expand Down
40 changes: 0 additions & 40 deletions config.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"uuid": "3.x",
"fancy-log": "1.x",
"ajv": "4.x",
"fs-extra": "2.0.x"
"fs-extra": "2.0.x",
"figlet": "1.2.x"
},
"homepage": "https://github.com/ThomasLeister/nodepki#readme",
"devDependencies": {}
Expand Down

0 comments on commit 885b95c

Please sign in to comment.