« get me outta code hell

--clear-thumbs utility - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-04 10:13:48 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-03-04 10:13:48 -0400
commit79b233cab5853b50717ffb281247485e26101ef0 (patch)
tree60a2fb5d21707f5b158d798152e005701eb678e2 /src/util
parent12e49429e0de38a1891a0b5ead653570ecd0e23b (diff)
--clear-thumbs utility
Diffstat (limited to 'src/util')
-rw-r--r--src/util/cli.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/cli.js b/src/util/cli.js
index 1ddc90e0..f83c8061 100644
--- a/src/util/cli.js
+++ b/src/util/cli.js
@@ -330,3 +330,11 @@ export function progressCallAll(msgOrMsgFn, array) {
 
   return vals;
 }
+
+export function fileIssue({
+  topMessage = `This shouldn't happen.`,
+} = {}) {
+  console.error(color.red(`${topMessage} Please let the HSMusic developers know:`));
+  console.error(color.red(`- https://hsmusic.wiki/feedback/`));
+  console.error(color.red(`- https://github.com/hsmusic/hsmusic-wiki/issues/`));
+}