💚 ci: fix auto script causing CI failure

This commit is contained in:
Rafi Arrafif
2026-01-31 18:41:09 +07:00
parent 09c74b28ab
commit 83792848ed
2 changed files with 14 additions and 6 deletions

View File

@ -1,10 +1,16 @@
import { generateUUIDv7 } from "../src/helpers/databases/uuidv7";
import { createFile } from "../src/helpers/files/createFile";
export const createDummySystemAccount = async () => {
await createFile(`export const SystemAccountId = "${generateUUIDv7()}";`, {
fileName: "system.ts",
targetDir: "src/config/account",
overwriteIfExists: true,
});
const createDummySystemAccount = async () => {
const file = await createFile(
`export const SystemAccountId = "${generateUUIDv7()}";`,
{
fileName: "system.ts",
targetDir: "src/config/account",
overwriteIfExists: true,
},
);
console.log(`Dummy system account created with id in file: ${file}`);
};
createDummySystemAccount();