Skip to content

Commit

Permalink
Correct --dry-run hint (flutter#17413)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuqian authored Mar 31, 2020
1 parent 6b09714 commit 7932c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/check_gn_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7932c87

Please sign in to comment.