Skip to content

Commit 7b95f6b

Browse files
committed
Allow hard tabs in go template
1 parent 8849935 commit 7b95f6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bundler/spec/quality_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def check_for_git_merge_conflicts(filename)
2020
end
2121

2222
def check_for_tab_characters(filename)
23+
# Because Go uses hard tabs
24+
return if filename.end_with?(".go.tt")
25+
2326
failing_lines = []
2427
each_line(filename) do |line, number|
2528
failing_lines << number + 1 if line.include?("\t")

0 commit comments

Comments
 (0)