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