From f20c70be2dd13fa3107dc53f08f1a73fb7ac8964 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:22:17 +0100 Subject: [PATCH] fix: use correct name for new seeds sort script --- seeds/scripts/package.json | 2 +- server/src/lib/seeds/repo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seeds/scripts/package.json b/seeds/scripts/package.json index 3c9fbea96..a21f5b541 100644 --- a/seeds/scripts/package.json +++ b/seeds/scripts/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "tsc -b", "test": "./run-tests.sh", - "sort": "node sort.js" + "sort": "node sort-seeds.js" }, "author": "zk", "license": "MIT", diff --git a/server/src/lib/seeds/repo.ts b/server/src/lib/seeds/repo.ts index 41831da1b..6d85b4b0f 100644 --- a/server/src/lib/seeds/repo.ts +++ b/server/src/lib/seeds/repo.ts @@ -96,7 +96,7 @@ export class DatabaseSeedsRepo { await fs.writeFile(this.CollectionNameToPath(collectionName), JSON.stringify(content)); // Deterministically sort whatever content we just wrote. - await asyncExec(`node ../scripts/deterministic-collection-sort.js`, this.baseDir); + await asyncExec(`node ../scripts/sort-seeds.js`, this.baseDir); } /**