Reland "Do not require arguments to run run_localization_check.py"
Relanding a PR that was disabled due exposing a bug in esprima
that has already been addressed in:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1931277
Bug: 1027052
Change-Id: I7262f01b545b7d8ab49cd6e8853f9f232b3d72e1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1929110
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Yang Guo <yangguo@chromium.org>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e479e68..f78de66 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -135,7 +135,7 @@
script_path = input_api.os_path.join(devtools_root, 'scripts', 'test', 'run_localization_check.py')
if check_all_files == True:
# Scan all files and fix any errors
- args = ['--autofix', '--a']
+ args = ['--autofix', '--all']
else:
devtools_front_end = input_api.os_path.join(devtools_root, 'front_end')
affected_front_end_files = _getAffectedFiles(input_api, [devtools_front_end], ['D'],