mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-13 06:02:57 +00:00
Remove hardcoded readdir path
This was probably used for debugging at some point and got commited accidentally.
This commit is contained in:
parent
92c6af91ca
commit
db3de2137b
@ -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) ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user