Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Commit 9e84fa4

Browse files
iarnazkat
authored andcommitted
test: install-link-scripts, no chmod on write in 0.8
PR-URL: #10903 Credit: @iarna
1 parent 8a587b0 commit 9e84fa4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/tap/install-link-scripts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ function setup () {
122122
path.join(dep, 'package.json'),
123123
JSON.stringify(dependency, null, 2)
124124
)
125-
fs.writeFileSync(path.join(dep, 'bin', 'foo'), foo, { mode: '0755' })
125+
fs.writeFileSync(path.join(dep, 'bin', 'foo'), foo)
126+
fs.chmod(path.join(dep, 'bin', 'foo'), '0755')
126127
}
127128

128129
function cleanup () {

0 commit comments

Comments
 (0)