Fix --tasks to --num-tasks in ui (#328)

This commit is contained in:
itsgreyum
2025-04-26 10:26:08 -07:00
committed by GitHub
parent ce51b0d3ef
commit 5a2371b7cc
3 changed files with 9 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ async function runTests() {
try {
const smallResult = execSync(
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${smallPRDPath} --tasks=5`,
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${smallPRDPath} --num-tasks=5`,
{
stdio: 'inherit'
}
@@ -179,7 +179,7 @@ async function runTests() {
try {
const mediumResult = execSync(
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${mediumPRDPath} --tasks=15`,
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${mediumPRDPath} --num-tasks=15`,
{
stdio: 'inherit'
}
@@ -200,7 +200,7 @@ async function runTests() {
try {
const largeResult = execSync(
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${largePRDPath} --tasks=25`,
`node ${path.join(__dirname, 'dev.js')} parse-prd --input=${largePRDPath} --num-tasks=25`,
{
stdio: 'inherit'
}