Permalink
Browse files

bin: fix undefined cookies. closes #14

  • Loading branch information...
juliangruber committed Sep 17, 2014
1 parent 48ef17c commit ff9bdf13c8f8d121f711dcc8f6f134291f01f826
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/review.js
View
@@ -60,7 +60,7 @@ if (argv.cache) {
server.cache(false)
}
var cookies = argv.cookies
var cookies = argv.cookies || []
if (!Array.isArray(cookies)) cookies = [cookies]
cookies.forEach(function(cookie){
server.cookie(JSON.parse(cookie))

0 comments on commit ff9bdf1

Please sign in to comment.