« get me outta code hell

upd8: import time shenanigans - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 15:42:20 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-17 17:09:17 -0400
commitb78cd632d6fe9c5c68acac43cc05f80fd12b3f4b (patch)
treec10970eed46969de3cc8c9685703bd4795b920d8
parentfb7fa2be943abfed9dde74e639816d61f6f734aa (diff)
upd8: import time shenanigans
-rwxr-xr-xsrc/upd8.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 790b73e..24fba6b 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -38,12 +38,20 @@ import {fileURLToPath} from 'node:url';
 
 import wrap from 'word-wrap';
 
-import {showAggregate} from '#aggregate';
-import CacheableObject from '#cacheable-object';
-import {displayCompositeCacheAnalysis} from '#composite';
+// Due to import time shenanigans, these imports have to come in the specified
+// order. This obviously needs fixing up.
+
+/* precede #find */
 import {filterReferenceErrors, reportDuplicateDirectories}
   from '#data-checks';
+
 import {bindFind, getAllFindSpecs} from '#find';
+
+// End of import time shenanigans (hopefully)
+
+import {showAggregate} from '#aggregate';
+import CacheableObject from '#cacheable-object';
+import {displayCompositeCacheAnalysis} from '#composite';
 import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile}
   from '#language';
 import {isMain, traverse} from '#node-utils';