File tree Expand file tree Collapse file tree 5 files changed +2323
-3491
lines changed
Expand file tree Collapse file tree 5 files changed +2323
-3491
lines changed Original file line number Diff line number Diff line change 33import { promises } from "fs" ;
44import path from "path" ;
55import os from "os" ;
6- import pQueue from "p-queue" ;
6+ import PQueue from "p-queue" ;
77
88const CONCURRENCY = Math . max ( 1 , os . cpus ( ) . length - 1 ) ;
99
10- const { default : PQueue } = pQueue ;
11-
1210import ignored from "./ignore.js" ;
1311
1412const [ sourceIgnoredFiles , ignoredDirectories ] = ignored ;
Original file line number Diff line number Diff line change @@ -5,14 +5,12 @@ import { promisify } from "util";
55import { exec } from "child_process" ;
66import path from "path" ;
77import os from "os" ;
8- import pQueue from "p-queue" ;
8+ import PQueue from "p-queue" ;
99
1010import ignored from "./ignore.js" ;
1111
1212const CONCURRENCY = Math . max ( 1 , os . cpus ( ) . length - 1 ) ;
1313
14- const { default : PQueue } = pQueue ;
15-
1614const execAsync = promisify ( exec ) ;
1715
1816const [ sourceIgnoredFiles , ignoredDirectories ] = ignored ;
Original file line number Diff line number Diff line change 33import { promises } from "fs" ;
44import path from "path" ;
55import os from "os" ;
6- import pQueue from "p-queue" ;
6+ import PQueue from "p-queue" ;
77
88import ignored from "./ignore.js" ;
99
1010const CONCURRENCY = Math . max ( 1 , os . cpus ( ) . length - 1 ) ;
1111
12- const { default : PQueue } = pQueue ;
13-
1412const [ , ignoredDirectories ] = ignored ;
1513
1614const {
You can’t perform that action at this time.
0 commit comments