From 27704d39664b711ae110f9beb708afb7dcaf4dc5 Mon Sep 17 00:00:00 2001 From: liam4 Date: Sat, 1 Jul 2017 15:35:00 -0300 Subject: 0-based indexing is for.. JavaScripters --- src/crawl-itunes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/crawl-itunes.js b/src/crawl-itunes.js index 9c119da..ec6c3ec 100644 --- a/src/crawl-itunes.js +++ b/src/crawl-itunes.js @@ -88,7 +88,7 @@ async function crawl(libraryXML) { } async function main() { - const libraryPath = process.argv[3] || ( + const libraryPath = process.argv[2] || ( `${process.env.HOME}/Music/iTunes/iTunes Music Library.xml` ) -- cgit 1.3.0-6-gf8a5