Skip to content

Commit 19958d5

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
Fix roll deps script
We need to pass the same experiment to the script here. Else NodeJs can't run the .ts files. Bug: 410059201 Change-Id: I9ff103ebf81fed672d9922ce77d4e0be6dcd9103 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6450647 Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
1 parent 5378490 commit 19958d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/deps/roll_deps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def run_eslint(options):
144144
if line.endswith(b'.js') or line.endswith(b'.ts'):
145145
generated_source_files.append(line)
146146
subprocess.check_call([
147-
node_path(options),
147+
node_path(options), "--experimental-strip-types",
148+
"--no-warnings=ExperimentalWarning",
148149
os.path.join(options.devtools_dir, 'scripts', 'test',
149150
'run_lint_check.mjs')
150151
] + generated_source_files,

0 commit comments

Comments
 (0)