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); } /**