use process PATH for bash tool (#202)
what: default bash PATH to process.env.PATH why: ensure Nix-provided tools on PATH inside sessions tests: not run Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@ const DEFAULT_MAX_OUTPUT = clampNumber(
|
|||||||
150_000,
|
150_000,
|
||||||
);
|
);
|
||||||
const DEFAULT_PATH =
|
const DEFAULT_PATH =
|
||||||
|
process.env.PATH ??
|
||||||
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
||||||
|
|
||||||
const stringEnum = (
|
const stringEnum = (
|
||||||
|
|||||||
Reference in New Issue
Block a user