build(bazel): fix runfiles resolve in karma-saucelabs.js after $location => $rootpath cleanup (#36511)
This wasn't caught by CI on the PR as this binary is only run once daily via a monitor job. PR Close #36511
This commit is contained in:
parent
d20ef47b16
commit
72053b0f27
@ -10,7 +10,7 @@
|
|||||||
const shell = require('shelljs');
|
const shell = require('shelljs');
|
||||||
const karmaBin = require.resolve('karma/bin/karma');
|
const karmaBin = require.resolve('karma/bin/karma');
|
||||||
const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']);
|
const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']);
|
||||||
const sauceService = runfiles.resolve(process.argv[2]);
|
const sauceService = runfiles.resolveWorkspaceRelative(process.argv[2]);
|
||||||
process.argv = [
|
process.argv = [
|
||||||
process.argv[0],
|
process.argv[0],
|
||||||
karmaBin,
|
karmaBin,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user