Skip to content

Commit d8d7f7e

Browse files
committed
Replace hardcoded "fastly compute build" in retry messages
Build verification can also be triggered by "publish" or "serve", so telling the user to retry with "fastly compute build" is misleading. Suggested by @kpfleming, thanks!
1 parent 4ac8198 commit d8d7f7e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/commands/compute/language_javascript.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Install npm (usually bundled with Node.js):
432432
433433
Verify: npm --version
434434
435-
Then retry: fastly compute build`,
435+
Then retry your command.`,
436436
}
437437
}
438438

@@ -451,7 +451,7 @@ Option 2 - Bun:
451451
curl -fsSL https://bun.sh/install | bash
452452
Verify: bun --version
453453
454-
Then retry: fastly compute build`,
454+
Then retry your command.`,
455455
}
456456
}
457457

@@ -504,7 +504,7 @@ To initialize a new project:
504504
%s
505505
%s
506506
507-
Then retry: fastly compute build`, initCmd, installCmd),
507+
Then retry your command.`, initCmd, installCmd),
508508
}
509509
}
510510

@@ -522,7 +522,7 @@ Then retry: fastly compute build`, initCmd, installCmd),
522522
Run: %s
523523
524524
This will install all dependencies from package.json.
525-
Then retry: fastly compute build`, installCmd),
525+
Then retry your command.`, installCmd),
526526
}
527527
}
528528
j.nodeModulesDir = nodeModulesPath
@@ -572,7 +572,7 @@ Run: %s
572572
Or specifically: %s
573573
Verify with: %s
574574
575-
Then retry: fastly compute build%s`, installCmd, installSpecific, verifyCmd, bunTip),
575+
Then retry your command.%s`, installCmd, installSpecific, verifyCmd, bunTip),
576576
}
577577
}
578578

@@ -591,7 +591,7 @@ func (j *JavaScript) verifyJsComputeRuntime() error {
591591
Run: %s
592592
593593
This package is required to compile JavaScript for Fastly Compute.
594-
Then retry: fastly compute build`, installCmd),
594+
Then retry your command.`, installCmd),
595595
}
596596
}
597597
if j.verbose {

0 commit comments

Comments
 (0)