Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
19 lines
1001 B
Diff
19 lines
1001 B
Diff
diff --git a/scripts/workflow/build-routes.ts b/scripts/workflow/build-routes.ts
|
|
index 9807cfc..b9dcfb9 100644
|
|
--- a/scripts/workflow/build-routes.ts
|
|
+++ b/scripts/workflow/build-routes.ts
|
|
@@ -4,6 +4,7 @@ import { parse } from 'tldts';
|
|
import fs from 'node:fs';
|
|
import path from 'node:path';
|
|
import toSource from 'tosource';
|
|
+import { exit } from 'node:process';
|
|
|
|
import { getCurrentPath } from '../../lib/utils/helpers';
|
|
const __dirname = getCurrentPath(import.meta.url);
|
|
@@ -73,3 +74,5 @@ fs.writeFileSync(path.join(__dirname, '../../assets/build/radar-rules.js'), `(${
|
|
fs.writeFileSync(path.join(__dirname, '../../assets/build/maintainers.json'), JSON.stringify(maintainers, null, 2));
|
|
fs.writeFileSync(path.join(__dirname, '../../assets/build/routes.json'), JSON.stringify(namespaces, null, 2));
|
|
fs.writeFileSync(path.join(__dirname, '../../assets/build/routes.js'), `export default ${JSON.stringify(namespaces, null, 2)}`.replaceAll(/"module": "(.*)"\n/g, `"module": $1\n`));
|
|
+
|
|
+exit(0);
|