Skip to content

Commit 970a3b5

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 4962a4a commit 970a3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bazel/src/ng_module/ng_module.bzl

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

5656
def _flat_module_out_file(ctx):
5757
"""Provide a default for the flat_module_out_file attribute.

0 commit comments

Comments
 (0)