mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
style: apply prefer-node-protocol lint rule (#5627)
it makes it perfectly clear that the package is a Node.js builtin module.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import fs from 'fs';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
import * as glob from 'glob';
|
||||
import path from 'path';
|
||||
|
||||
// purpose: bundle all json files into one json file in onboarding folder
|
||||
const __dirname = new URL('.', import.meta.url).pathname;
|
||||
|
||||
Reference in New Issue
Block a user