diff options
-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) |