Skip to content

Commit 63398e0

Browse files
josephperrottatscott
authored andcommitted
fix(bazel): add this_is_bazel marker (#45728)
Add marker for noting that this check confirms we are running in a bazel environment. PR Close #45728
1 parent 81611db commit 63398e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/bazel/src/ng_module/ng_module.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _basename_of(ctx, file):
5454
# Return true if run with bazel (the open-sourced version of blaze), false if
5555
# run with blaze.
5656
def _is_bazel():
57-
return not hasattr(native, "genmpm")
57+
return not hasattr(native, "genmpm") # this_is_bazel
5858

5959
def _flat_module_out_file(ctx):
6060
"""Provide a default for the flat_module_out_file attribute.

0 commit comments

Comments
 (0)