Skip to content

Commit 8c1437e

Browse files
author
James
committed
also allow 0775
1 parent 83d3745 commit 8c1437e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/pgdump.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ describe('pgdump', () => {
6464

6565
// eslint-disable-next-line no-bitwise
6666
const permString = '0' + (stat.mode & 0o777).toString(8)
67-
expect(permString).to.equal('0755')
68-
if (permString !== '0755') {
67+
if (permString !== '0755' && permString !== '0775') {
6968
throw new Error('binary ' + binaryPath + ' is not executable')
7069
}
7170
})

0 commit comments

Comments
 (0)