Build TypeScript with the installed node and name no Node version (issue 1572, ADR 0477)
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
// ProbeTimeout bounds `node --version`.
|
||||
const ProbeTimeout = 15 * time.Second
|
||||
|
||||
// ProbeNode reads the installed Node version: what `node --version` prints ("v26.10.0"), as RecipeNode is written.
|
||||
// ProbeNode reads the installed Node version: what `node --version` prints ("v26.10.0"), as the toolchains state holds it.
|
||||
func ProbeNode(ctx context.Context) (string, error) {
|
||||
ctx, cancel := context.WithTimeout(ctx, ProbeTimeout)
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user