« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/index.js b/index.js
index 5546f6d..676a5f1 100644
--- a/index.js
+++ b/index.js
@@ -55,7 +55,7 @@ async function main() {
     ]
   }
 
-  // grouplike = require('./flat.json')
+  // grouplike = require('./library.json')
 
   grouplike = updatePlaylistFormat(grouplike)
 
@@ -69,4 +69,7 @@ async function main() {
   }, 50)
 }
 
-main().catch(err => console.error(err))
+main().catch(err => {
+  console.error(err)
+  process.exit(1)
+})