Skip to content

Commit

Permalink
Remove --sandbox_debug bazel arg
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdothtml committed Sep 19, 2024
1 parent 5c32234 commit 0e3ca72
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions utils/bazel-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ const build /*: Build */ = async ({
stdio = 'inherit',
}) => {
cwd = relative(root, cwd);
await spawnOrExit(
bazel,
[...startupFlags, 'build', `//${cwd}:${name}`, '--sandbox_debug'],
{
stdio,
env: {...process.env},
cwd: root,
}
);
await spawnOrExit(bazel, [...startupFlags, 'build', `//${cwd}:${name}`], {
stdio,
env: {...process.env},
cwd: root,
});
};

/*::
Expand All @@ -59,13 +55,7 @@ const test /*: Test */ = async ({
const testParams = args.map(arg => `--test_arg=${arg}`);
await spawnOrExit(
bazel,
[
...startupFlags,
'run',
`//${cwd}:${name}`,
'--sandbox_debug',
...testParams,
],
[...startupFlags, 'run', `//${cwd}:${name}`, ...testParams],
{
stdio,
env: {...process.env},
Expand Down Expand Up @@ -95,13 +85,7 @@ const run /*: Run */ = async ({
const runParams = args.length > 0 ? ['--', ...args] : [];
await spawnOrExit(
bazel,
[
...startupFlags,
'run',
`//${cwd}:${name}`,
'--sandbox_debug',
...runParams,
],
[...startupFlags, 'run', `//${cwd}:${name}`, ...runParams],
{
stdio,
env: {...process.env},
Expand Down

0 comments on commit 0e3ca72

Please sign in to comment.