Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f76a3a5

Browse files
committed
Fix error windows bad param
1 parent 20ecd54 commit f76a3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dev": "nest dev",
1313
"compile": "npx ncc build ./dist/src/command.js -o command",
1414
"build": "nest build",
15-
"build:binary": "yarn build && yarn compile && npx -q patch-package && npx @yao-pkg/pkg . --options 'max-old-space-size=30720,tls-min-v1.0,expose-gc'",
15+
"build:binary": "yarn build && yarn compile && npx -q patch-package && npx @yao-pkg/pkg . --options max-old-space-size=30720,tls-min-v1.0,expose-gc",
1616
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1717
"build:extensions": "run-script-os",
1818
"build:extensions:windows": "powershell -command \"$jobs = Get-ChildItem -Path './src/extensions' -Directory | ForEach-Object { Start-Job -Name ($_.Name) -ScriptBlock { param($_dir); try { Set-Location $_dir; yarn; yarn build; Write-Output 'Build successful in ' + $_dir } catch { Write-Error 'Error in ' + $_dir; throw } } -ArgumentList $_.FullName }; $jobs | Wait-Job; $jobs | ForEach-Object { Receive-Job -Job $_ -Keep } | ForEach-Object { Write-Host $_ }; $failed = $jobs | Where-Object { $_.State -ne 'Completed' -or $_.ChildJobs[0].JobStateInfo.State -ne 'Completed' }; if ($failed) { Exit 1 }\"",

0 commit comments

Comments
 (0)