We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a9926 commit 089ea21Copy full SHA for 089ea21
lib/libnut-core/index.ts
@@ -24,13 +24,13 @@ export interface libnut {
24
25
let libnut : libnut;
26
if (process.platform === 'darwin') {
27
- libnut = require("osx/libnut.node");
+ libnut = require("./osx/libnut.node");
28
29
} else if (process.platform === 'linux') {
30
- libnut = require("linux/libnut.node");
+ libnut = require("./linux/libnut.node");
31
32
} else if (process.platform === 'win32') {
33
- libnut = require("windows/libnut.node");
+ libnut = require("./windows/libnut.node");
34
35
} else {
36
throw new Error('unsupported platform');
0 commit comments