Skip to content

Commit 639dddc

Browse files
committed
Add missing newline at the end of action-versions.ts
1 parent 0b27c71 commit 639dddc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pr-checks/sync_back.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const ACTION_VERSIONS = {
176176
"version": "v5"
177177
}
178178
};
179-
`.trim();
179+
`.trimStart();
180180

181181
fs.writeFileSync(actionVersionsTsPath, actionVersionsTsContent);
182182

pr-checks/sync_back.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function updateActionVersions(
139139
actionVersions: Record<string, ActionVersion>,
140140
): boolean {
141141
// Build content for the file.
142-
let newContent: string = `export const ACTION_VERSIONS = ${JSON.stringify(actionVersions, null, 2)};`;
142+
let newContent: string = `export const ACTION_VERSIONS = ${JSON.stringify(actionVersions, null, 2)};\n`;
143143

144144
if (fs.existsSync(actionVersionsTsPath)) {
145145
const content = fs.readFileSync(actionVersionsTsPath, "utf8");

0 commit comments

Comments
 (0)