« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/upd8.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 790b73e9..24fba6ba 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';