From 438f21307cb477361ecd62667860681ed7811bc8 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sun, 3 Jun 2018 15:32:19 -0300 Subject: Don't default to library.json --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit 1.3.0-6-gf8a5