update dir make

This commit is contained in:
加里 2014-08-08 18:03:54 +08:00
parent 80d8134306
commit 8a36b3467f
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ module.exports =function(){
//create server with corresponding CA //create server with corresponding CA
}else{ }else{
fs.mkdir("cert/tmpCert");
var keyFile = "./cert/tmpCert/__hostname.key".replace(/__hostname/,hostname), var keyFile = "./cert/tmpCert/__hostname.key".replace(/__hostname/,hostname),
crtFile = "./cert/tmpCert/__hostname.crt".replace(/__hostname/,hostname); crtFile = "./cert/tmpCert/__hostname.crt".replace(/__hostname/,hostname);

1
test.js Normal file
View File

@ -0,0 +1 @@
require("fs").mkdir("cert/tmpC");