| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 72e4326fe4f2e9a3784156695aed3063dcc6a49f..03a77b28681d9df9e72559a4d71c3418159661dc 100755
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -255,9 +255,7 @@ def _CheckApprovedFilesLintClean(input_api, output_api,
|
|
|
| if cpplint._cpplint_state.error_count > 0:
|
| if input_api.is_committing:
|
| - # TODO(kjellander): Change back to PresubmitError below when we're
|
| - # confident with the lint settings.
|
| - res_type = output_api.PresubmitPromptWarning
|
| + res_type = output_api.PresubmitError
|
| else:
|
| res_type = output_api.PresubmitPromptWarning
|
| result = [res_type('Changelist failed cpplint.py check.')]
|
|
|