Commit 65b76bc9 authored by Philipp Wolfer's avatar Philipp Wolfer

AngularJS check: Test if check is used is handled by the default implementation

See Check.should_skip method.
parent bf06eafb
......@@ -48,10 +48,6 @@ class AngularJSInterpolationCheck(TargetCheck):
severity = 'danger'
def check_single(self, source, target, unit):
# Verify unit is properly flagged
if self.enable_string not in unit.all_flags:
return False
src_match = ANGULARJS_INTERPOLATION_MATCH.findall(source)
# Any interpolation strings in source?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment