aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Loo Rong Jie <loorongjie@gmail.com>2018-06-25 04:12:27 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-25 04:15:28 -0700
commitd753745d58fc45fcb50623073829644812083da0 (patch)
tree39f9d4f3489f7e878bcfb7c1715f552456f9cc44 /tools
parentf5043d6831ea1c266104363b4e8911eb97f96fbc (diff)
Fix typo in http.bzl
#5407 Closes #5450. PiperOrigin-RevId: 201933209
Diffstat (limited to 'tools')
-rw-r--r--tools/build_defs/repo/http.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_defs/repo/http.bzl b/tools/build_defs/repo/http.bzl
index 727d3a753b..3d2007cd25 100644
--- a/tools/build_defs/repo/http.bzl
+++ b/tools/build_defs/repo/http.bzl
@@ -35,7 +35,7 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "patch", "workspace_and_bu
def _http_archive_impl(ctx):
"""Implementation of the http_archive rule."""
if not ctx.attr.url and not ctx.attr.urls:
- ctx.fail("At least of of url and urls must be provided")
+ ctx.fail("At least one of url and urls must be provided")
if ctx.attr.build_file and ctx.attr.build_file_content:
ctx.fail("Only one of build_file and build_file_content can be provided.")