Skip to content

Commit

Permalink
test: fix missing JSON.stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
ruyadorno committed Aug 17, 2020
1 parent b72920f commit 807443f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/publish-invalid-semver-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function resetPackage (options) {
chownSync(CACHE_DIR, sudoUID, sudoGID)
}

fs.writeFileSync(path.resolve(PKG_DIR, 'package.json'), DEFAULT_PKG)
fs.writeFileSync(path.resolve(PKG_DIR, 'package.json'), JSON.stringify(DEFAULT_PKG))
}

test('setup', function (t) {
Expand Down

0 comments on commit 807443f

Please sign in to comment.