Remove hardcoded readdir path

This was probably used for debugging at some point and got commited
accidentally.
This commit is contained in:
Juan Cruz Viotti 2016-02-19 08:35:10 -04:00
parent 92c6af91ca
commit db3de2137b
2 changed files with 2 additions and 5 deletions
build/actions
lib/actions

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

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