Skip to content

Commit 8ed1c66

Browse files
committed
add newline to generated package.json
1 parent 4f8ab85 commit 8ed1c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remix.init/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default async function main({ rootDirectory }) {
8383
const fileOperationPromises = [
8484
fs.writeFile(FLY_TOML_PATH, newFlyTomlContent),
8585
fs.writeFile(ENV_PATH, newEnv),
86-
fs.writeFile(PKG_PATH, JSON.stringify(packageJson, null, 2)),
86+
fs.writeFile(PKG_PATH, JSON.stringify(packageJson, null, 2) + '\n'),
8787
fs.copyFile(
8888
path.join(rootDirectory, 'remix.init', 'gitignore'),
8989
path.join(rootDirectory, '.gitignore'),

0 commit comments

Comments
 (0)