You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various parts of the codebase detect whether bzlmod is enabled or not. Most of them copy/paste the same if @ in Label(..) trick, and use a comment to explain what they're doing.
Rather that copy/paste that everywhere, lets just have a constant defined that does this once, then code can simply check if BZLMOD_ENABLED.
PR #1287 is adding such a constant; this issue is for cleaning up the code to use it everywhere.
The text was updated successfully, but these errors were encountered:
#1302)
Various parts of the codebase detect whether bzlmod is enabled or not.
Most of them copy/paste the same if @ in Label(..) trick and use a
comment to explain what they're doing.
Rather than copy/paste that everywhere, this commit uses a constant
defined that does this once and reuses the constant value to determine
if bzlmod is enabled.
Closes: #1295
Various parts of the codebase detect whether bzlmod is enabled or not. Most of them copy/paste the same
if @ in Label(..)
trick, and use a comment to explain what they're doing.Rather that copy/paste that everywhere, lets just have a constant defined that does this once, then code can simply check
if BZLMOD_ENABLED
.PR #1287 is adding such a constant; this issue is for cleaning up the code to use it everywhere.
The text was updated successfully, but these errors were encountered: