truffle-box
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -55,6 +55,6 @@ var fs = require("fs-extra"); | ||
return new Promise(function(accept, reject) { | ||
tmp.dir(function(err, path, cleanupCallback) { | ||
tmp.dir({unsafeCleanup: true}, function(err, dir, cleanupCallback) { | ||
if (err) return reject(err); | ||
accept(path, cleanupCallback); | ||
accept(path.join(dir, "box"), cleanupCallback); | ||
}); | ||
@@ -124,2 +124,6 @@ }); | ||
return new Promise(function(accept, reject) { | ||
if (postUnpack.length === 0) { | ||
return accept(); | ||
} | ||
exec(postUnpack, {cwd: destination}, function(err, stdout, stderr) { | ||
@@ -126,0 +130,0 @@ if (err) return reject(err); |
{ | ||
"name": "truffle-box", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Truffle project boilerplate utility", | ||
@@ -5,0 +5,0 @@ "main": "box.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62005
568