Skip to content

Commit ee64cbb

Browse files
authored
Merge pull request #180 from ericcrosson-bitgo/BG-53458-openapi-generator-include-newline-at-eof
fix(openapi-generator): include POSIX-compliant newline at EOF
2 parents bc69193 + da5225e commit ee64cbb

File tree

1 file changed

+1
-1
lines changed
  • packages/openapi-generator/src

1 file changed

+1
-1
lines changed

packages/openapi-generator/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const app = command({
7575
(api) => api,
7676
),
7777
);
78-
const formattedApi = JSON.stringify(api, null, 2);
78+
const formattedApi = JSON.stringify(api, null, 2) + '\n';
7979
await writeFile(output, formattedApi);
8080
},
8181
});

0 commit comments

Comments
 (0)