Skip to content

Commit

Permalink
Fix (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-vasin authored Mar 5, 2021
1 parent cb33a45 commit 15e9265
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-release/src/pre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getOctokit } from '@actions/github'
import isEmpty from 'lodash.isempty'
import partial from 'lodash.partial'
import * as path from 'path'
import * as os from 'os'
import sortPackageJson from 'sort-package-json'
import findVersions from 'find-versions'
import { readFileSync, writeFileSync } from 'fs'
Expand Down Expand Up @@ -39,7 +40,7 @@ const packagePatcher = async (
patchedPackage.version = version
writeFileSync(
path.resolve(location, 'package.json'),
JSON.stringify(patchedPackage, null, 2)
JSON.stringify(patchedPackage, null, 2) + os.EOL
)
}

Expand Down

0 comments on commit 15e9265

Please sign in to comment.