Skip to content

Commit

Permalink
Silence JSON experiment warnings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Lightning00Blade authored and Devtools-frontend LUCI CQ committed Jan 24, 2025
1 parent f29a5bd commit 1198dc1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,14 @@ hooks = [
'name': 'VS Code settings',
'pattern': '.',
'condition': 'build_with_chromium == False',
'action': ['vpython3', 'third_party/node/node.py', '--output', 'scripts/deps/sync-vscode-settings.mjs']
'action': [
'vpython3',
'third_party/node/node.py',
'--output',
# Silence the "Importing JSON modules" warning
'--no-warnings=ExperimentalWarning',
'scripts/deps/sync-vscode-settings.mjs'
]
},
]

Expand Down

0 comments on commit 1198dc1

Please sign in to comment.