Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit cd91a8c

Browse files
TypeScript Teamalexeagle
authored andcommitted
Update buildifier to the latest version
PiperOrigin-RevId: 223412432
1 parent 5e2a738 commit cd91a8c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def rules_typescript_dependencies():
7373
_maybe(
7474
http_archive,
7575
name = "com_github_bazelbuild_buildtools",
76-
url = "https://github.com/bazelbuild/buildtools/archive/0.12.0.zip",
77-
strip_prefix = "buildtools-0.12.0",
78-
sha256 = "ec495cbd19238c9dc488fd65ca1fee56dcb1a8d6d56ee69a49f2ebe69826c261",
76+
url = "https://github.com/bazelbuild/buildtools/archive/0.19.2.1.zip",
77+
strip_prefix = "buildtools-0.19.2.1",
78+
sha256 = "9176a7df34dbed2cf5171eb56271868824560364e60644348219f852f593ae79",
7979
)
8080

8181
###############################################

ts_auto_deps/updater/updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func readBUILD(ctx context.Context, workspaceRoot, buildFilePath string) (*build
212212
data, err := platform.ReadFile(ctx, buildFilePath)
213213
if err != nil {
214214
if os.IsNotExist(err) {
215-
return &build.File{Path: normalizedG3Path, Build: true}, nil
215+
return &build.File{Path: normalizedG3Path, Type: build.TypeBuild}, nil
216216
}
217217
return nil, fmt.Errorf("reading %q: %s", buildFilePath, err)
218218
}

ts_auto_deps/updater/updater_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ func TestWebAssetReferredByColon(t *testing.T) {
491491
}
492492

493493
func TestAbsoluteBazelTarget(t *testing.T) {
494-
bld := &build.File{Path: "foo/bar/BUILD", Build: true}
494+
bld := &build.File{Path: "foo/bar/BUILD", Type: build.TypeBuild}
495495
tests := []struct{ target, expected string }{
496496
{"//foo/bar:bar", "//foo/bar:bar"},
497497
{":bar", "//foo/bar:bar"},

0 commit comments

Comments
 (0)