36902e2f0e
This commit fixes a bug in the Bazel builder in which the path to Bazel executable is constructed using the project path. For non-default project, the node_modules directory is actually one level above the project path. This PR fixes the bug by resolving node_modules with require.resolve(). It requires @bazel/bazel v0.22.1 because previous versions do not have index.js or main field in package.json and would cause node module resolution to fail. This has been tested with both bazel and ibazel. PR Close #28478 |
||
---|---|---|
.. | ||
docs | ||
src | ||
test | ||
BUILD.bazel | ||
check_version.js | ||
index.bzl | ||
package.bzl | ||
package.json | ||
protractor-utils.js | ||
yarn.lock |