Skip to content

Commit 1198dc1

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
Silence JSON experiment warnings
Silence warning related to JSON import via `with`. The feature is stable and in the spec. Sadly we can't target this experiment warning only. Bug: none Change-Id: I1c2d3c74c6f0f6a3b573ba32c219616c3272de0c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6197941 Commit-Queue: Benedikt Meurer <[email protected]> Auto-Submit: Nikolay Vitkov <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]>
1 parent f29a5bd commit 1198dc1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

DEPS

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,14 @@ hooks = [
309309
'name': 'VS Code settings',
310310
'pattern': '.',
311311
'condition': 'build_with_chromium == False',
312-
'action': ['vpython3', 'third_party/node/node.py', '--output', 'scripts/deps/sync-vscode-settings.mjs']
312+
'action': [
313+
'vpython3',
314+
'third_party/node/node.py',
315+
'--output',
316+
# Silence the "Importing JSON modules" warning
317+
'--no-warnings=ExperimentalWarning',
318+
'scripts/deps/sync-vscode-settings.mjs'
319+
]
313320
},
314321
]
315322

0 commit comments

Comments
 (0)