Polish the obsolete_URI script.
This commit is contained in:
parent
1bf36caef7
commit
4e3f69fda7
4 changed files with 75 additions and 2 deletions
|
@ -68,6 +68,12 @@ class KnownExceptions
|
|||
|
||||
def skip?(file, line_number = -1, string = "@!#IMPOSSIBLE#!@")
|
||||
@skippers.each() do |skipper|
|
||||
if line_number == -1
|
||||
next if skipper.is_a?(LineSkipper)
|
||||
else
|
||||
next if skipper.is_a?(ExtensionSkipper) || skipper.is_a?(PathSkipper)
|
||||
end
|
||||
|
||||
if skipper.skip?(file, line_number, string)
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue