From db3de2137bd36cd01eeda2b3139a5e8f18d1a753 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 19 Feb 2016 08:35:10 -0400 Subject: [PATCH] Remove hardcoded readdir path This was probably used for debugging at some point and got commited accidentally. --- build/actions/wizard.js | 4 +--- lib/actions/wizard.coffee | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/build/actions/wizard.js b/build/actions/wizard.js index 09448d74..49a33ec8 100644 --- a/build/actions/wizard.js +++ b/build/actions/wizard.js @@ -33,9 +33,7 @@ limitations under the License. } console.info('Looks like you\'re not logged in yet!'); console.info('Lets go through a quick wizard to get you started.\n'); - return capitano.runAsync('login').then(function() { - return require('fs').readdirSync('/Users/jviotti/.resin'); - }); + return capitano.runAsync('login'); }).then(function() { if (params.name != null) { return; diff --git a/lib/actions/wizard.coffee b/lib/actions/wizard.coffee index fc4fe433..52b8b380 100644 --- a/lib/actions/wizard.coffee +++ b/lib/actions/wizard.coffee @@ -43,8 +43,7 @@ exports.wizard = return if isLoggedIn console.info('Looks like you\'re not logged in yet!') console.info('Lets go through a quick wizard to get you started.\n') - return capitano.runAsync('login').then -> - require('fs').readdirSync('/Users/jviotti/.resin') + return capitano.runAsync('login') .then -> return if params.name? patterns.selectOrCreateApplication().tap (applicationName) ->