Skip to content

Commit a8635a4

Browse files
committed
Do not trim trailing spaces from TRICK code
1 parent ba07f5b commit a8635a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: bin/auto-style.rb

+3
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def with_clean_env
155155

156156
# to respect the original statements of licenses
157157
%r{\ALEGAL\z},
158+
159+
# trailing spaces could be intentional in TRICK code
160+
%r{\Asample/trick[^/]*/},
158161
]
159162

160163
repo_path, *rest = ARGV

0 commit comments

Comments
 (0)