Skip to content

Commit

Permalink
Merge pull request #83 from Foxhind/fix/clean-xpi-temp-dir
Browse files Browse the repository at this point in the history
use remove method instead of unlink
  • Loading branch information
saadtazi committed Mar 3, 2017
2 parents 0f68496 + 4bc016a commit 8452602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/firefox_profile.js
Expand Up @@ -151,7 +151,7 @@ function FirefoxProfile(options) {

function deleteParallel(files, cb) {
async.parallel(files.map(function(file) {
return function(next) { fs.unlink(file, next); };
return function(next) { fs.remove(file, next); };
}), function () {
cb && cb();
});
Expand Down

0 comments on commit 8452602

Please sign in to comment.