Skip to content

Commit 52dfba9

Browse files
committedJun 28, 2018
Simplify; apply editorconfig for *.bzl
1 parent a8bc86d commit 52dfba9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ insert_final_newline = true
1313
indent_style = space
1414
indent_size = 2
1515

16-
[BUILD.bazel]
16+
[{BUILD.bazel,*.bzl}]
1717
insert_final_newline = true
1818
indent_style = space
1919
indent_size = 4

‎buildozer/def.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def _buildozer_impl(ctx):
1414
"-delete_with_comments=%s" % str(ctx.attr.delete_with_comments).lower(),
1515
]
1616
if ctx.file.tables:
17-
args.extend(["-tables=%s" % ctx.file.tables.short_path])
17+
args.append("-tables=%s" % ctx.file.tables.short_path)
1818
if ctx.file.add_tables:
19-
args.extend(["-add_tables=%s" % ctx.file.add_tables.short_path])
19+
args.append("-add_tables=%s" % ctx.file.add_tables.short_path)
2020

2121
out_file = ctx.actions.declare_file(ctx.label.name + ".bash")
2222
substitutions = {

0 commit comments

Comments
 (0)
Please sign in to comment.