From 2849649e8ce8d57308b91e10ce90628277b3c15e Mon Sep 17 00:00:00 2001 From: liyuqian Date: Tue, 31 Mar 2020 10:21:02 -0700 Subject: [PATCH] Correct --dry-run hint (flutter/engine#17413) --- engine/src/flutter/ci/check_gn_format.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/ci/check_gn_format.py b/engine/src/flutter/ci/check_gn_format.py index d7611a4f91..2257a58984 100755 --- a/engine/src/flutter/ci/check_gn_format.py +++ b/engine/src/flutter/ci/check_gn_format.py @@ -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