remove unneccesary returns

This commit is contained in:
Todd Baur 2017-03-10 08:06:03 +09:00
parent 9aac650c1e
commit 146cca7ef3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
});
}