Chromium Code Reviews| Index: catapult_build/js_checks.py |
| diff --git a/catapult_build/js_checks.py b/catapult_build/js_checks.py |
| index f182b813cb3ed37f8d3e341197b99eff6260ba78..78cc745ebd8c0a9d391d4f7b6b80392c3d74fce2 100644 |
| --- a/catapult_build/js_checks.py |
| +++ b/catapult_build/js_checks.py |
| @@ -98,7 +98,7 @@ |
| stripped_contents = strip_js_comments.StripJSComments(contents).strip() |
| matches = re.match('^(.*?);', stripped_contents, re.DOTALL) |
| if not matches: |
| - return contents |
| + return '' |
| return matches.group(1).strip() |