From 146cca7ef3d7a54cd83546a02c9faed0314dc510 Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Fri, 10 Mar 2017 08:06:03 +0900 Subject: [PATCH] remove unneccesary returns --- lib/cmd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cmd.js b/lib/cmd.js index 49a4aadc5..e529ff7d1 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); } }); }