Fix macPrompt to remove hash directory in tmp
This commit is contained in:
parent
7765652fa7
commit
9bc245180a
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -187,7 +187,7 @@ function macPrompt(hash, options, callback) {
|
|||
var source = Node.path.join(Node.path.dirname(module.filename), 'applet.app');
|
||||
var target = Node.path.join(temp, hash, options.name + '.app');
|
||||
function end(error) {
|
||||
remove(target,
|
||||
remove(Node.path.dirname(target),
|
||||
function(errorRemove) {
|
||||
if (error) return callback(error);
|
||||
if (errorRemove) return callback(errorRemove);
|
||||
|
|
Loading…
Reference in a new issue