diff --git a/lib/cmd.js b/lib/cmd.js index 49a4aadc..e529ff7d 100644 --- a/lib/cmd.js +++ b/lib/cmd.js @@ -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); } }); }