mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: improve generate public speed [skip ci]
This commit is contained in:
@@ -32,6 +32,8 @@ interface Write {
|
||||
): Promise<void>
|
||||
}
|
||||
|
||||
export type VoidOrVoidArray = void | VoidOrVoidArray[];
|
||||
|
||||
export function mkdirp(dir: string) {
|
||||
if (fs.existsSync(dir)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user