mirror of https://github.com/embarklabs/embark.git
remove unneccesary returns
This commit is contained in:
parent
9aac650c1e
commit
146cca7ef3
|
@ -54,10 +54,10 @@ Cmd.prototype.newApp = function() {
|
|||
console.error('Invalid name:', err.message);
|
||||
// Manually call retry
|
||||
// The passed error has a retry method to easily prompt again.
|
||||
return err.retry();
|
||||
err.retry();
|
||||
} else {
|
||||
//slightly different assignment of name since it comes from child prompt
|
||||
return self.Embark.generateTemplate('boilerplate', parentDirectory, inputvalue);
|
||||
self.Embark.generateTemplate('boilerplate', parentDirectory, inputvalue);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue