mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
refactor: use node scheme imports in spec (#38487)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { once } from 'events';
|
||||
import { once } from 'node:events';
|
||||
import * as walkdir from 'walkdir';
|
||||
|
||||
export async function getFiles (directoryPath: string, { filter = null }: {filter?: ((file: string) => boolean) | null} = {}) {
|
||||
|
||||
Reference in New Issue
Block a user