Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FUSETOOLS2-2371: provide workaround to install VS Code extensions with #1808

Merged

Conversation

apupier
Copy link
Member

@apupier apupier commented May 2, 2024

latest Node security release

see nodejs/node#52554 (comment)

@apupier apupier force-pushed the 2308-FixMainBranchTestOnWindows branch from d5e480f to 695e89c Compare May 2, 2024 14:35
@apupier apupier marked this pull request as ready for review May 2, 2024 14:49
@apupier apupier added the PRIO label May 2, 2024
@@ -46,7 +47,8 @@ async function main(): Promise<void> {
function installExtraExtension(cliPath: string, extensionId: string, args: string[]) {
cp.spawnSync(cliPath, [...args, '--install-extension', extensionId, '--force'], {
encoding: 'utf-8',
stdio: 'inherit'
stdio: 'inherit',
shell: os.platform() === 'win32' // to workaround https://github.com/nodejs/node/issues/52554#issuecomment-2060026269
Copy link
Member Author

@apupier apupier May 2, 2024

Choose a reason for hiding this comment

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

another option would be to provide always true and escape spaces for MacOS for the vscode executable path

latest Node security release

see nodejs/node#52554 (comment)
Applying it on Windows only otherwise it is breaking MacOS with error:
`/bin/sh:
/Users/runner/work/vscode-camelk/vscode-camelk/.vscode-test/vscode-darwin-arm64-1.85.2/Visual:
No such file or directory`

Signed-off-by: Aurélien Pupier <[email protected]>
@apupier apupier force-pushed the 2308-FixMainBranchTestOnWindows branch from 695e89c to 0c01328 Compare May 2, 2024 14:55
@apupier apupier changed the title FUSETOOLS2-2308: provide workaround to install VS Code extensions with FUSETOOLS2-2371: provide workaround to install VS Code extensions with May 2, 2024
Copy link

sonarcloud bot commented May 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@apupier apupier merged commit 65f5f4f into camel-tooling:main May 2, 2024
6 checks passed
@apupier apupier deleted the 2308-FixMainBranchTestOnWindows branch May 2, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants