Remove references to dartfmt in various comments and docs.
Change-Id: I02112ce2920d71f84ce4808c13a62e1a1765d83f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215181 Commit-Queue: Bob Nystrom <rnystrom@google.com> Commit-Queue: Nate Bosch <nbosch@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Nate Bosch <nbosch@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
8e6f639a7e
commit
0ea8347576
+3
-3
@@ -127,8 +127,8 @@ def _CheckDartFormat(input_api, output_api):
|
||||
|
||||
def HasFormatErrors(filename: str = None, contents: str = None):
|
||||
# Don't look for formatting errors in multitests. Since those are very
|
||||
# sensitive to whitespace, many cannot be formatted with dartfmt without
|
||||
# breaking them.
|
||||
# sensitive to whitespace, many cannot be reformatted without breaking
|
||||
# them.
|
||||
if filename and filename.endswith('_test.dart'):
|
||||
with open(filename) as f:
|
||||
contents = f.read()
|
||||
@@ -179,7 +179,7 @@ def _CheckDartFormat(input_api, output_api):
|
||||
lineSep = " ^\n"
|
||||
return [
|
||||
output_api.PresubmitError(
|
||||
'File output does not match dartfmt.\n'
|
||||
'File output does not match dart format.\n'
|
||||
'Fix these issues with:\n'
|
||||
'%s format %s%s' %
|
||||
(dart, lineSep, lineSep.join(unformatted_files)))
|
||||
|
||||
Reference in New Issue
Block a user