1.0.5: Minor CLI args parsing fix.
This commit is contained in:
parent
9cebd0d156
commit
9ba33ce556
@ -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"
|
||||
},
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user