about summary refs log tree commit diff
path: root/users/Profpatsch/lyric/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'users/Profpatsch/lyric/src/index.ts')
-rw-r--r--users/Profpatsch/lyric/src/index.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/users/Profpatsch/lyric/src/index.ts b/users/Profpatsch/lyric/src/index.ts
index 6bab1c4590cd..9501fa57b347 100644
--- a/users/Profpatsch/lyric/src/index.ts
+++ b/users/Profpatsch/lyric/src/index.ts
@@ -1,16 +1,16 @@
-import { tapBpm } from "./tap-bpm.js";
+import { tapBpm } from './tap-bpm.js';
 
-async function main() {
+function main() {
   // subcommand for tap-bpm
-  if (process.argv[2] === "tap-bpm") {
-    await tapBpm();
+  if (process.argv[2] === 'tap-bpm') {
+    tapBpm();
   }
 }
 
-await main();
+main();
 
 // sleep in a loop to block nodejs
-console.log("Blocking event loop...");
+console.log('Blocking event loop...');
 while (true) {
-  await new Promise((resolve) => setTimeout(resolve, 1000));
+  await new Promise(resolve => setTimeout(resolve, 1000));
 }