Skip to content

Commit 807443f

Browse files
committed
test: fix missing JSON.stringify
1 parent b72920f commit 807443f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/tap/publish-invalid-semver-tag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function resetPackage (options) {
2828
chownSync(CACHE_DIR, sudoUID, sudoGID)
2929
}
3030

31-
fs.writeFileSync(path.resolve(PKG_DIR, 'package.json'), DEFAULT_PKG)
31+
fs.writeFileSync(path.resolve(PKG_DIR, 'package.json'), JSON.stringify(DEFAULT_PKG))
3232
}
3333

3434
test('setup', function (t) {

0 commit comments

Comments
 (0)