Skip to content

Commit

Permalink
Fix incorrect migration instructions in backward-compatibility.md
Browse files Browse the repository at this point in the history
#6381

RELNOTES: None.
PiperOrigin-RevId: 227196354
  • Loading branch information
hlopko authored and Copybara-Service committed Dec 29, 2018
1 parent 3942687 commit ac6a57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/skylark/backward-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ For Starlark rules using C++ Make Variables:
```python
# Before
def _impl(ctx):
strip = ctx.vars["STRIP"]
strip = ctx.var["STRIP"]
...

my_rule = rule(
Expand All @@ -855,7 +855,7 @@ my_rule = rule(

# After
def _impl(ctx):
strip = ctx.vars["STRIP"]
strip = ctx.var["STRIP"]
...

my_rule = rule(
Expand Down

0 comments on commit ac6a57a

Please sign in to comment.