Skip to content

Commit

Permalink
Merge pull request #1 from chrisgarber/fix/null-in-package.json-files
Browse files Browse the repository at this point in the history
fix: package.json getting postended with "null"
  • Loading branch information
bencergazda authored Sep 23, 2022
2 parents 4358dcb + bfd4b21 commit c2db88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function detect_newline_at_eof(path) {
return matches[0];
}

return null;
return '';
}

function sleep(ms) {
Expand Down

0 comments on commit c2db88d

Please sign in to comment.