Add missing newline at the end of action-versions.ts

This commit is contained in:
Michael B. Gale
2026-03-09 13:36:51 +00:00
parent 0b27c71731
commit 639dddc728
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ export const ACTION_VERSIONS = {
"version": "v5"
}
};
`.trim();
`.trimStart();
fs.writeFileSync(actionVersionsTsPath, actionVersionsTsContent);
+1 -1
View File
@@ -139,7 +139,7 @@ export function updateActionVersions(
actionVersions: Record<string, ActionVersion>,
): boolean {
// Build content for the file.
let newContent: string = `export const ACTION_VERSIONS = ${JSON.stringify(actionVersions, null, 2)};`;
let newContent: string = `export const ACTION_VERSIONS = ${JSON.stringify(actionVersions, null, 2)};\n`;
if (fs.existsSync(actionVersionsTsPath)) {
const content = fs.readFileSync(actionVersionsTsPath, "utf8");