From af12c5b91bd7668be89f220cced6a561f86922db Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Tue, 18 Jun 2024 09:53:13 +0800 Subject: [PATCH] spec: add date in rendered config --- spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.ts b/spec.ts index 955aa37..380d515 100644 --- a/spec.ts +++ b/spec.ts @@ -412,7 +412,7 @@ interface ConfigOptions { } export function renderConfig(options: ConfigOptions) { - return `# Rendered from TypeScript, do not edit!\n\n\n` + specTemplate + return `# Rendered from TypeScript ${new Date().toLocaleString()}, do not edit!\n\n\n` + specTemplate .replace("@@GCCDIR@@", options.gccdir) .replace("@@OPTIMIZE@@", options.optimize); }