Skip to content

Suppress VS Code CLI deprecation warnings during theme setup#608

Open
chriscupas wants to merge 2 commits into
basecamp:masterfrom
chriscupas:fix-vscode-theme-warning
Open

Suppress VS Code CLI deprecation warnings during theme setup#608
chriscupas wants to merge 2 commits into
basecamp:masterfrom
chriscupas:fix-vscode-theme-warning

Conversation

@chriscupas

Copy link
Copy Markdown

Summary

  • suppress Node deprecation warnings when the VS Code CLI is invoked during theme switching and initial setup

Motivation

  • switching themes was printing Node DEP0169 warnings from url.parse() during VS Code extension installation, which made the workflow noisy

Copilot AI review requested due to automatic review settings June 9, 2026 09:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates VS Code CLI extension installation commands to suppress Node.js deprecation warnings by setting NODE_OPTIONS=...--no-deprecation for the code invocation.

Changes:

  • Add NODE_OPTIONS with --no-deprecation when installing extensions via code.
  • Quote "$VSC_EXTENSION" in the theme setup script to avoid word-splitting/globbing issues.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
themes/set-vscode-theme.sh Sets NODE_OPTIONS for the code --install-extension call and improves quoting of the extension variable.
install/desktop/app-vscode.sh Sets NODE_OPTIONS for the default theme extension installation via code.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install/desktop/app-vscode.sh Outdated
Comment thread themes/set-vscode-theme.sh Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants