We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c22353 commit c514f56Copy full SHA for c514f56
src/commitizen/adapter.js
@@ -48,7 +48,7 @@ function addPathToAdapterConfig(sh, cliPath, repoPath, adapterNpmName) {
48
if(_.get(packageJsonContent,'config.commitizen.path') !== adapterNpmName) {
49
newPackageJsonContent = _.merge(packageJsonContent, commitizenAdapterConfig);
50
}
51
- fs.writeFileSync(packageJsonPath, JSON.stringify(newPackageJsonContent, null, indent));
+ fs.writeFileSync(packageJsonPath, JSON.stringify(newPackageJsonContent, null, indent) + '\n');
52
53
54
/**
0 commit comments