Simplify node imports

This commit is contained in:
Cohee
2024-10-11 00:28:17 +03:00
parent 4bafacaec4
commit a0e6030836
38 changed files with 83 additions and 84 deletions

View File

@ -3,8 +3,8 @@
// 1. node plugins.js update
// 2. node plugins.js install <plugin-git-url>
// More operations coming soon.
import * as fs from 'node:fs';
import * as path from 'node:path';
import fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { default as git } from 'simple-git';