Skip to content

Commit 813408b

Browse files
committed
0.1.1
1 parent d70e863 commit 813408b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22

3+
## 0.1.1
4+
fix: running on linux throws errors
5+
36
## 0.1.0
47

58
initial release

js/addon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { existsSync, readFileSync, statSync } = require('fs')
1+
const { existsSync, readFileSync } = require('fs')
22
const { join } = require('path')
33

44
const { platform, arch } = process
@@ -164,7 +164,7 @@ switch (platform) {
164164
loadError = e
165165
}
166166
} else {
167-
localFileExisted = statSync(
167+
localFileExisted = existsSync(
168168
join(__dirname, '../node-unix-socket.linux-x64-gnu.node')
169169
)
170170
try {

0 commit comments

Comments
 (0)