Co-authored-by: uncenter <[email protected]> Co-authored-by: Hammy <[email protected]> Co-authored-by: WalkQuackBack <[email protected]>
10 lines
209 B
TypeScript
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,
|
|
);
|
|
}
|