diff options
Diffstat (limited to 'gazelle')
-rw-r--r-- | gazelle/bzl/gazelle.go | 2 | ||||
-rw-r--r-- | gazelle/bzl/testdata/README.md | 2 | ||||
-rw-r--r-- | gazelle/bzl/testdata/empty/BUILD.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gazelle/bzl/gazelle.go b/gazelle/bzl/gazelle.go index 433be6a..94c32e9 100644 --- a/gazelle/bzl/gazelle.go +++ b/gazelle/bzl/gazelle.go @@ -173,7 +173,7 @@ func (*bzlLibraryLang) Resolve(c *config.Config, ix *resolve.RuleIndex, rc *repo if impLabel.Repo != "" || !c.IndexLibraries { // This is a dependency that is external to the current repo, or indexing - // is disabled so take a guess at what hte target name should be. + // is disabled so take a guess at what the target name should be. deps = append(deps, strings.TrimSuffix(imp, fileType)) continue } diff --git a/gazelle/bzl/testdata/README.md b/gazelle/bzl/testdata/README.md index a6a3603..b498c66 100644 --- a/gazelle/bzl/testdata/README.md +++ b/gazelle/bzl/testdata/README.md @@ -3,7 +3,7 @@ This directory contains a suite of test cases for the Skylark language plugin for Gazelle. -Please note that there are no `BUILD` or `BUILD.bazel` files in subdirs, insted +Please note that there are no `BUILD` or `BUILD.bazel` files in subdirs, instead there are `BUILD.in` and `BUILD.out` describing what the `BUILD` should look like initially and what the `BUILD` file should look like after the run. These names are special because they are not recognized by Bazel as a proper `BUILD` diff --git a/gazelle/bzl/testdata/empty/BUILD.in b/gazelle/bzl/testdata/empty/BUILD.in index e1e154c..ce5d4cc 100644 --- a/gazelle/bzl/testdata/empty/BUILD.in +++ b/gazelle/bzl/testdata/empty/BUILD.in @@ -2,7 +2,7 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") bzl_library( name = "weirdly_named_target_that_will_be_removed", - srcs = ["nonexistant.bzl"], + srcs = ["nonexistent.bzl"], visibility = ["//visibility:public"], ) |