mirror of https://github.com/keeweb/keeweb.git
fixed callback consistency in mdkir
This commit is contained in:
parent
adcf3c5377
commit
a102a5877c
|
@ -100,7 +100,7 @@ const Launcher = {
|
|||
|
||||
const create = function(stack, callback) {
|
||||
if (!stack.length) {
|
||||
return callback && callback();
|
||||
return callback();
|
||||
}
|
||||
|
||||
fs.mkdir(stack.shift(), err =>
|
||||
|
|
Loading…
Reference in New Issue