Skip to content

Commit

Permalink
Update stamping.bzl
Browse files Browse the repository at this point in the history
Fix formatting error with underscores
  • Loading branch information
alexeagle committed Apr 18, 2023
1 parent adca277 commit e9c0612
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/stamping.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ load("@aspect_bazel_lib//lib:stamping.bzl", "STAMP_ATTRS", "maybe_stamp")
In your rule implementation, call the `maybe_stamp` function.
If it returns `None` then this build doesn't have stamping enabled.
Otherwise you can use the returned struct to access two files.
The stable_status file contains the keys which were prefixed with `STABLE_`, see above.
The volatile_status file contains the rest of the keys.
1. The `stable_status` file contains the keys which were prefixed with `STABLE_`, see above.
2. The `volatile_status` file contains the rest of the keys.
```starlark
def _rule_impl(ctx):
Expand Down

0 comments on commit e9c0612

Please sign in to comment.