Skip to content

refactor: Only show migrate command when workspace has deprecated files#1084

Merged
jdneo merged 3 commits intomasterfrom
cs/migrate
Oct 22, 2020
Merged

refactor: Only show migrate command when workspace has deprecated files#1084
jdneo merged 3 commits intomasterfrom
cs/migrate

Conversation

@jdneo
Copy link
Copy Markdown
Member

@jdneo jdneo commented Oct 20, 2020

No description provided.

@jdneo jdneo added the eng Debts for engineering label Oct 20, 2020
@jdneo jdneo added this to the 0.26.0 milestone Oct 20, 2020
Comment thread src/extension.ts Outdated
const deprecatedConfigs: Uri[] = await workspace.findFiles('**/.vscode/launch.test.json', null, 1 /*maxResult*/);
if (deprecatedConfigs.length > 0) {
commands.executeCommand('setContext', 'java:hasDeprecatedTestConfig', true);
sendInfo('', { hasDeprecatedTestConfig: 1 });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hasDeprecatedTestConfig: 1 would cause telemetry data goes into measure instead of properties. Consider to use true or "1"?

@jdneo jdneo merged commit 3b18a2c into master Oct 22, 2020
@jdneo jdneo deleted the cs/migrate branch October 22, 2020 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eng Debts for engineering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants