Files
userstyles/scripts/generate/utils.ts
T
84c0edf1ce docs: add starlight (#1859)
Co-authored-by: uncenter <[email protected]>
Co-authored-by: Hammy <[email protected]>
Co-authored-by: WalkQuackBack <[email protected]>
2025-08-31 19:02:22 -04:00

10 lines
209 B
TypeScript

export function writeWithPreamble(
filePath: string,
fileContent: string,
) {
return Deno.writeTextFile(
filePath,
"# THIS FILE IS AUTOGENERATED. DO NOT EDIT IT BY HAND.\n" + fileContent,
);
}