Skip to content

Commit

Permalink
[Fix] Return on error
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v2a committed Dec 29, 2018
1 parent a99602e commit 13b4db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/laravelConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var prepareTmpFolder = function prepareTmpFolder() {
unsafeCleanup: true
}, function tmpDirCallback(err, name) {
if (err) {
reject(err);
return reject(err);
}
fs.mkdir(name + '/Config-laravel')
.then(function tmpdirOk() {
Expand Down

0 comments on commit 13b4db3

Please sign in to comment.