Skip to content

Commit 254eafa

Browse files
fix pre-commit
1 parent 8394856 commit 254eafa

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

doc_build/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ genrule(
7272
deps = [
7373
":rules_pkg_lib",
7474
"//toolchains/rpm:standard_package",
75-
"@aspect_bazel_lib//lib:expand_make_vars"
75+
"@aspect_bazel_lib//lib:expand_make_vars",
7676
],
7777
)
7878
for rule, src in ORDER

pkg/private/tar/tar.bzl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414
"""Rules for making .tar files."""
1515

16+
load("@aspect_bazel_lib//lib:expand_make_vars.bzl", "expand_variables")
1617
load("//pkg:providers.bzl", "PackageVariablesInfo")
1718
load(
1819
"//pkg/private:pkg_files.bzl",
@@ -25,7 +26,6 @@ load(
2526
"write_manifest",
2627
)
2728
load("//pkg/private:util.bzl", "setup_output_files", "substitute_package_variables")
28-
load("@aspect_bazel_lib//lib:expand_make_vars.bzl", "expand_variables")
2929

3030
# TODO(aiuto): Figure out how to get this from the python toolchain.
3131
# See check for lzma in archive.py for a hint at a method.
@@ -127,7 +127,6 @@ def _pkg_tar_impl(ctx):
127127
expanded_replacement = expand_variables(ctx, replacement)
128128
expanded_remap_paths[expanded_prefix] = expanded_replacement
129129

130-
131130
path_mapper = lambda path: _remap(expanded_remap_paths, path)
132131

133132
mapping_context = create_mapping_context_from_ctx(

tests/tar/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ pkg_tar(
633633
":tree_artifact_to_rename",
634634
],
635635
remap_paths = {
636-
"/rename_me": "$(COMPILATION_MODE)"
636+
"/rename_me": "$(COMPILATION_MODE)",
637637
},
638638
)
639639

0 commit comments

Comments
 (0)