diff options
author | liam4 <towerofnix@gmail.com> | 2017-07-01 15:35:00 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-07-01 15:35:00 -0300 |
commit | 27704d39664b711ae110f9beb708afb7dcaf4dc5 (patch) | |
tree | af46360456e3b375d2e9875bf9843e9eea3952fd /src/crawl-itunes.js | |
parent | f8617724b8853f9654465718bcaee71846e61db7 (diff) |
0-based indexing is for.. JavaScripters
Diffstat (limited to 'src/crawl-itunes.js')
-rw-r--r-- | src/crawl-itunes.js | 2 |
1 files changed, 1 insertions, 1 deletions
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` ) |