[iOS] Remove boilerplate JS file check
Fixed: 1375793 Change-Id: Ie0dae8d0d4492997676135b744bb7e91822f2f7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4959134 Commit-Queue: Robert Sesek <rsesek@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Auto-Submit: Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1213446}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
29c5597751
commit
cde25f5464
@ -153,14 +153,6 @@ def Main():
|
||||
print('A file at path %s already exists' % f, file=sys.stderr)
|
||||
return 2
|
||||
|
||||
# TODO(https://crbug.com/1375793): Remove this check.
|
||||
if _IsIOSFile(f) and f.endswith('.js'):
|
||||
print(
|
||||
'Invalid file type for %s. (Please use \'.ts\' for new iOS scripts.)'
|
||||
% f,
|
||||
file=sys.stderr)
|
||||
return 2
|
||||
|
||||
for f in files:
|
||||
_CreateFile(f)
|
||||
|
||||
|
Reference in New Issue
Block a user