Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Fixed GDPR annotation (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
lramos15 authored and ramya-rao-a committed Jun 19, 2019
1 parent f578dd7 commit 72d7458
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/goDebugConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class GoDebugConfigurationProvider implements vscode.DebugConfigurationPr
"request" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"mode" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"useApiV<NUMBER>": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"apiVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
"apiVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"stopOnEntry": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
Expand Down Expand Up @@ -76,9 +76,9 @@ export class GoDebugConfigurationProvider implements vscode.DebugConfigurationPr
const dlvConfig: { [key: string]: any } = goConfig.get('delveConfig');
let useApiV1 = false;
if (debugConfiguration.hasOwnProperty('useApiV1')) {
useApiV1 = debugConfiguration['useApiV1'] === true;
useApiV1 = debugConfiguration['useApiV1'] === true;
} else if (dlvConfig.hasOwnProperty('useApiV1')) {
useApiV1 = dlvConfig['useApiV1'] === true;
useApiV1 = dlvConfig['useApiV1'] === true;
}
if (useApiV1) {
debugConfiguration['apiVersion'] = 1;
Expand Down

0 comments on commit 72d7458

Please sign in to comment.