Use octal integer literal

This commit is contained in:
Antonio Scandurra
2017-02-15 17:19:55 +01:00
parent 5a0433b006
commit cf329d0f63

View File

@@ -112,7 +112,7 @@ describe("FileRecoveryService", () => {
const mockWindow = {}
const filePath = temp.path()
fs.writeFileSync(filePath, "content")
fs.chmodSync(filePath, 0444)
fs.chmodSync(filePath, 0o444)
let logs = []
this.stub(console, 'log', (message) => logs.push(message))