Don't chop SSH key

This commit is contained in:
Juan Cruz Viotti 2015-06-11 08:08:45 -04:00
parent 73736abdea
commit 29cf4c1e89
2 changed files with 0 additions and 4 deletions

View File

@ -45,7 +45,6 @@
if (error != null) {
return done(error);
}
key.public_key = '\n' + visuals.helpers.chop(key.public_key, SSH_KEY_WIDTH);
console.log(visuals.widgets.table.vertical(key, ['id', 'title', 'public_key']));
return done();
});

View File

@ -40,9 +40,6 @@ exports.info =
action: (params, options, done) ->
resin.models.key.get params.id, (error, key) ->
return done(error) if error?
key.public_key = '\n' + visuals.helpers.chop(key.public_key, SSH_KEY_WIDTH)
console.log(visuals.widgets.table.vertical(key, [ 'id', 'title', 'public_key' ]))
return done()