style: lint

This commit is contained in:
手瓜一十雪
2024-10-15 09:06:47 +08:00
parent 964874bdad
commit 030ba15952
27 changed files with 167 additions and 167 deletions

View File

@@ -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);
}