We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c95c16 commit dfb4a18Copy full SHA for dfb4a18
src/extension.ts
@@ -970,13 +970,13 @@ export function activate(context: vscode.ExtensionContext) {
970
var data = [];
971
972
if (result.length > 0) {
973
- // Iterate over the keys of the first result to obtain the array of variables.
974
- for(let v of result[0].keys()){
975
- variables.push(v);
976
- }
977
for(let r of result){
978
let stringresult = [];
979
for(let v of r.keys()){ // variables are key in the map
+
+ if (!variables.includes(v)) {
+ variables.push(v);
+ }
980
if (r.get(v).value != undefined) {
981
stringresult.push(r.get(v).value);
982
} else {
0 commit comments