Correct --dry-run hint (flutter/engine#17413)

This commit is contained in:
liyuqian
2020-03-31 10:21:02 -07:00
committed by GitHub
parent 1a3231ec1f
commit 2849649e8c

View File

@@ -41,8 +41,8 @@ def main():
for gn_file in GetGNFiles(args.root_directory):
if subprocess.call(gn_command + [ gn_file ]) != 0:
print "ERROR: '%s' is incorrectly formatted." % os.path.relpath(gn_file, args.root_directory)
print "Format the same with 'gn format' using the 'gn' binary in //buildtools."
print "Or, run ./ci/check_gn_format.py with '--dry-run false'"
print "Format the same with 'gn format' using the 'gn' binary in third_party/gn/gn."
print "Or, run ./ci/check_gn_format.py without '--dry-run'"
return 1
return 0