Commit 393460b7 authored by bradnelson@google.com's avatar bradnelson@google.com

Making license presubmit check more verbose.

BUG=None
TEST=None
R=dpranke@chromium.org
Review URL: http://codereview.chromium.org/6768006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79644 0039d316-1c4b-4281-b951-d872f2087c98
parent 711a70bf
......@@ -309,6 +309,7 @@ def CheckLicense(input_api, output_api, license_re, source_file_filter=None,
else:
res_type = output_api.PresubmitNotifyResult
return [res_type(
'License must match:\n%s\n' % license_re.pattern +
'Found a bad license header in these files:', items=bad_files)]
return []
......
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