Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/setup-webview-test-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {
if (!fs.existsSync('./test-webview')) {
try {
console.log(color(['dim'], 'Copying webview test environment locally...'));
await execShellCommand('npx degit microsoft/vscode-webview-ui-toolkit-samples/default/all-components test-webview');
await execShellCommand('npx degit microsoft/vscode-webview-ui-toolkit-samples/default/component-gallery test-webview');
} catch (err) {
console.log(`${color(['red'], 'Error: Could not copy webview test environment locally')}\n ${err}`);
process.exit();
Expand Down Expand Up @@ -55,7 +55,7 @@ async function main() {
console.log('Next steps:');
console.log(` 1. Open the ${color(['cyan'], 'test-webview')} folder in a new VS Code window`);
console.log(` 2. Press ${color(['cyan'], 'F5')} to open the webview test extension with the most recent toolkit build loaded`);
console.log(` 3. Run the "${color(['cyan'], 'Webview UI Toolkit: Open all components gallery')}" command using the VS Code command palette`);
console.log(` 3. Run the "${color(['cyan'], 'Component Gallery: Show')}" command using the VS Code command palette`);
console.log();
}

Expand Down