Open
Description
Running snapshots active against the current directory for which I was not authorized, will not show a 401. It will prompt for the snapshot name without displaying a list. Actually entering a snapshot name will cause jitsu to crash because snapshots = undefined
info: Welcome to Nodejitsu swaagie
info: jitsu v0.12.8, node v0.8.22
info: It worked if it ends with Nodejitsu ok
info: Executing command snapshots activate
info: Attempting to load snapshots for
info: Listing snapshots for handbook
prompt: Snapshot Name: 4.3.5
/var/www/nodejitsu/jitsu/lib/jitsu/commands/snapshots.js:217
var snapshot = snapshots.filter(function (snap) {
^
TypeError: Object true has no method 'filter'
at snapshots.activate (/var/www/nodejitsu/jitsu/lib/jitsu/commands/snapshots.js:217:32)
at prompt.get (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:317:32)
at async.forEachSeries.iterate (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:116:25)
at assembler (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:314:9)
at prompt.get (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:323:32)
at prompt.getInput (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:598:5)
at Interface.onLine (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/read/lib/read.js:110:5)
at Interface.EventEmitter.emit (events.js:96:17)
at Interface._onLine (readline.js:200:10)
at Interface._line (readline.js:518:8)