Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: PRESUBMIT.py

Issue 2795653005: Print the correct path to dartfmt in the presubmit error message. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index c7e956a0b2b03beb45fb3f1b6639b62360dced67..870062aee77e3a2c1a993c72af29792eac00e702 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -92,7 +92,7 @@ def _CheckDartFormat(input_api, output_api):
return [output_api.PresubmitError(
'File output does not match dartfmt.\n'
'Fix these issues with:\n'
- 'dartfmt -w \\\n%s' % ' \\\n'.join(unformatted_files))]
+ '%s -w \\\n%s' % (prebuilt_dartfmt, ' \\\n'.join(unformatted_files)))]
return []
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698