1.0.5: Minor CLI args parsing fix.

This commit is contained in:
Roel van Uden 2015-01-25 19:49:45 +01:00
parent 9cebd0d156
commit 9ba33ce556
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
],
"name": "crunchyroll",
"repository": "git://github.com/Deathspike/crunchyroll.js.git",
"version": "1.0.4",
"version": "1.0.5",
"bin": {
"crunchyroll": "./bin/crunchyroll"
},

View File

@ -45,7 +45,7 @@ function _split(value) {
previous = i + 1;
}
}
pieces.push(value.substring(previous));
pieces.push(value.substring(previous, i).match(/^"?(.+?)"?$/)[1]);
return pieces;
}