We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9783b07 commit 2bcae28Copy full SHA for 2bcae28
src/physicalCpuCount.ts
@@ -30,8 +30,7 @@ try {
30
} else if (platform === 'darwin') {
31
const output = exec('sysctl -n hw.physicalcpu_max')
32
amount = parseInt(output.trim(), 10)
33
- // @ts-ignore
34
- } else if (platform === 'windows' || platform === 'win32') {
+ } else if (platform === 'win32') {
35
// windows takes too long, so let's drop the support
36
throw new Error()
37
} else {
0 commit comments