style: lint

This commit is contained in:
手瓜一十雪 committed 2024-05-22 20:58:49 +08:00
1 parent b29f533a3b
commit ac5506a43b
48 files changed
+1027 -1115

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
import * as os from 'os';
import path from 'node:path';
import fs from 'fs';
import { dirname } from "node:path"
import { fileURLToPath } from "node:url"
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
@@ -19,6 +19,6 @@ export function cpModule(moduleName: string) {
try {
fs.copyFileSync(path.join(currentDir, fileName), path.join(currentDir, `${moduleName}.node`));
} catch (e) {
console.error(e);
}
}