We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab73c16 + 6898015 commit fa472c7Copy full SHA for fa472c7
tools/msftidy.rb
@@ -320,10 +320,13 @@ def check_extname
320
end
321
322
323
+ # Explicitly skip this check if we're suppressing info messages
324
+ # anyway, since it takes a fair amount of time per module to perform.
325
def check_rubocop
326
+ return true if SUPPRESS_INFO_MESSAGES
327
out = %x{rubocop -n #{@full_filepath}}
328
ret = $?
- error("Fails to pass Rubocop Ruby style guidelines (run 'rubocop #{@full_filepath}' to see violations)") unless ret.exitstatus == 0
329
+ info("Fails to pass Rubocop Ruby style guidelines (run 'rubocop #{@full_filepath}' to see violations)") unless ret.exitstatus == 0
330
331
332
def check_old_rubies
0 commit comments