style: lint
This commit is contained in:
1 parent
a9201826a6
commit
0dc6aa46d0
27 files changed
+167
-167
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ export class Native {
|
||||
if (!this.supportedPlatforms.includes(this.platform)) {
|
||||
throw new Error(`Platform ${this.platform} is not supported`);
|
||||
}
|
||||
let nativeNode = path.join(nodePath, './native/MoeHoo.win32.node');
|
||||
const nativeNode = path.join(nodePath, './native/MoeHoo.win32.node');
|
||||
if (fs.existsSync(nativeNode)) {
|
||||
dlopen(this.MoeHooExport, nativeNode, constants.dlopen.RTLD_LAZY);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user