aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Florian Weikert <fwe@google.com>2016-12-07 12:25:48 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2016-12-07 12:53:52 +0000
commit12474d03da2b49447efd67e6b2ac93cd43539ec4 (patch)
tree4b4bed8ccaa51086a5868e75330ccb68e6dd9f04
parentaf878d04990d9eb12bda75b3571dff48d40fce1a (diff)
Use correct comment type (# instead of //) in Skylark cookbook example.
-- PiperOrigin-RevId: 141293305 MOS_MIGRATED_REVID=141293305
-rw-r--r--site/versions/master/docs/skylark/cookbook.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/site/versions/master/docs/skylark/cookbook.md b/site/versions/master/docs/skylark/cookbook.md
index ce3aa62ce7..b011eee1ea 100644
--- a/site/versions/master/docs/skylark/cookbook.md
+++ b/site/versions/master/docs/skylark/cookbook.md
@@ -538,9 +538,9 @@ load("//pkg:execute.bzl", "execute")
execute(
name = "e",
- // The location will be expanded to "pkg/data.txt", and it will reference
- // the data.txt file in runfiles when this target is invoked as
- // "bazel run //pkg:e".
+ # The location will be expanded to "pkg/data.txt", and it will reference
+ # the data.txt file in runfiles when this target is invoked as
+ # "bazel run //pkg:e".
command = "cat $(location :data.txt)",
data = [':data.txt']
)