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 [] |