mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 18:49:37 +00:00
Add gclient sync to package_config.json presubmit message
Change-Id: I1f53911efc0e809e23bdee4cd522aff9b76c8c53 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184640 Auto-Submit: Leaf Petersen <leafp@google.com> Commit-Queue: Leaf Petersen <leafp@google.com> Commit-Queue: Nate Bosch <nbosch@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Gary Roumanis <grouma@google.com>
This commit is contained in:
parent
a32498b929
commit
e585bd5655
|
@ -236,7 +236,8 @@ def _CheckPackageConfigUpToDate(input_api, output_api):
|
||||||
output_api.PresubmitError(
|
output_api.PresubmitError(
|
||||||
'File .dart_tool/package_config.json is out of date.\n'
|
'File .dart_tool/package_config.json is out of date.\n'
|
||||||
'Fix these issues with:\n'
|
'Fix these issues with:\n'
|
||||||
'%s tools/generate_package_config.dart' % (dart))
|
'gclient sync -D && %s tools/generate_package_config.dart' %
|
||||||
|
(dart))
|
||||||
]
|
]
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue