diff options
author | Florrie <towerofnix@gmail.com> | 2018-06-03 15:32:19 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-06-03 15:32:19 -0300 |
commit | 438f21307cb477361ecd62667860681ed7811bc8 (patch) | |
tree | 86300baf39acc13f1e675a1008328fc1ee3812f0 | |
parent | 60131bd74b505803bba2db7bef78d9945d4087bd (diff) |
Don't default to library.json
-rw-r--r-- | index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/index.js b/index.js index b46edb6..df60207 100644 --- a/index.js +++ b/index.js @@ -64,7 +64,9 @@ async function main() { ] } - grouplike = require(process.argv[2] || './library.json') + if (process.argv[2]) { + grouplike = require(process.argv[2]) + } grouplike = updatePlaylistFormat(grouplike) |