Skip to content

Commit

Permalink
ensure initial package.json passes lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gtm-nayan committed Jun 25, 2022
1 parent fb068fe commit 7521264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-svelte/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function write_common_files(cwd, options, name) {
pkg.devDependencies = sort_keys(pkg.devDependencies);
pkg.name = to_valid_package_name(name);

fs.writeFileSync(pkg_file, JSON.stringify(pkg, null, '\t'));
fs.writeFileSync(pkg_file, JSON.stringify(pkg, null, '\t') + '\n');
}

/**
Expand Down

0 comments on commit 7521264

Please sign in to comment.