Skip to content

Commit

Permalink
[minor] Removed additional references to knockout
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Nov 1, 2011
1 parent d44913b commit d71ffcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/jitsu/commands.js
Expand Up @@ -19,7 +19,7 @@ fs.readdirSync(path.join(__dirname, 'commands')).forEach(function (cmd) {
}); });
}); });


var requireAuth = ['apps', 'databases', 'env', 'logs', 'snapshots', 'knockout']; var requireAuth = ['apps', 'databases', 'env', 'logs', 'snapshots'];


commands.requiresAuth = function (resource) { commands.requiresAuth = function (resource) {
return requireAuth.indexOf(resource) !== -1; return requireAuth.indexOf(resource) !== -1;
Expand All @@ -36,7 +36,7 @@ commands.run = function (command, callback) {
name = parts.shift(), name = parts.shift(),
action = parts.shift(), action = parts.shift(),
command, expected, resource; command, expected, resource;

// //
// If we have been asked for `help` or `usage` // If we have been asked for `help` or `usage`
// about a particular resource, print the help // about a particular resource, print the help
Expand Down
2 changes: 1 addition & 1 deletion lib/jitsu/commands/logs.js
Expand Up @@ -102,7 +102,7 @@ logs.app = function (appName, amount, callback) {
winston.error('You need to pass an app name'); winston.error('You need to pass an app name');
jitsu.prompt.get(["app name"], function (err, result) { jitsu.prompt.get(["app name"], function (err, result) {
if (err) { if (err) {
// Handle the error (same as in knockout.js) // Handle the error
winston.error('Prompt error:'); winston.error('Prompt error:');
return callback(err); return callback(err);
} else { } else {
Expand Down

0 comments on commit d71ffcd

Please sign in to comment.