mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00: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,7 +1,8 @@
|
||||
import 'electron-updater'; // Prevent BaseUpdater is undefined.
|
||||
|
||||
import { randomBytes } from 'node:crypto';
|
||||
|
||||
import { type AllPublishOptions, UUID } from 'builder-util-runtime';
|
||||
import { randomBytes } from 'crypto';
|
||||
import type { AppAdapter } from 'electron-updater/out/AppAdapter';
|
||||
import type { DownloadUpdateOptions } from 'electron-updater/out/AppUpdater';
|
||||
import type { InstallOptions } from 'electron-updater/out/BaseUpdater';
|
||||
|
||||
Reference in New Issue
Block a user