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

Commit

Permalink
Fix broken codelens
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Nov 27, 2017
1 parent c470da4 commit 9ec6b8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.6.68 - 27th November, 2017
## 0.6.69 - 27th November, 2017

* New commands
* [Frederik Ring (@m90)](https://github.com/m90)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Go",
"version": "0.6.68",
"version": "0.6.69",
"publisher": "lukehoban",
"description": "Rich Go language support for Visual Studio Code",
"author": {
Expand Down
6 changes: 3 additions & 3 deletions src/goRunTestCodelens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export class GoRunTestCodeLensProvider extends GoBaseCodeLensProvider {
this.getCodeLensForPackage(document, token),
this.getCodeLensForFunctions(config, document, token)
]).then(([pkg, fns]) => {
const res = [];
let res = [];
if (pkg && Array.isArray(pkg)) {
res.concat(pkg);
res = res.concat(pkg);
}
if (fns && Array.isArray(fns)) {
res.concat(fns);
res = res.concat(fns);
}
return res;
});
Expand Down

0 comments on commit 9ec6b8f

Please sign in to comment.