Skip to content

Commit

Permalink
Update build/remove-private-fields.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Shotaro Nakamura <[email protected]>
  • Loading branch information
miyaji255 and nakasyou authored Jan 15, 2025
1 parent 6807d43 commit 36f2a72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/remove-private-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { cpus } from 'node:os'
import type { WorkerInput, WorkerOutput } from './remove-private-fields-worker'

const workers = Array.from({ length: Math.ceil(cpus().length / 2) }).map(
() => new Worker(`${import.meta.dirname}/remove-private-fields-worker.ts`),
{ type: 'module' }
() => new Worker(`${import.meta.dirname}/remove-private-fields-worker.ts`, { type: 'module' })
)
let workerIndex = 0
let taskId = 0

Check warning on line 8 in build/remove-private-fields.ts

View check run for this annotation

Codecov / codecov/patch

build/remove-private-fields.ts#L4-L8

Added lines #L4 - L8 were not covered by tests
Expand Down

0 comments on commit 36f2a72

Please sign in to comment.