Skip to content

Commit

Permalink
chore: release 1.2.3 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelkaporin authored Nov 23, 2021
1 parent c7ad338 commit 734b123
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "snyk-vulnerability-scanner",
"//": "Changing display name requires change in general.ts",
"displayName": "Snyk Vulnerability Scanner",
"version": "1.2.2",
"version": "1.2.3",
"description": "Easily find and fix vulnerabilities in both your code and open source dependencies with fast and accurate scans.",
"icon": "media/images/readme/snyk_extension_icon.png",
"publisher": "snyk-security",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ export class OssVulnerabilityCountService implements Disposable {
) {}

activate(): boolean {
if (!this.config.isDevelopment) {
// Do not activate service in production until we have feature flag story.
return false;
}

this.disposables.push(
(this.diagnostics = this.languages.createDiagnosticCollection(DIAGNOSTICS_OSS_COLLECTION_NAME)),
this.workspace.onDidChangeTextDocument(ev => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ suite('OSS VulnerabilityCountService', () => {
sinon.restore();
});

test("Doesn't activate in production", () => {
config.isDevelopment = false;
strictEqual(ossVulnerabilityCountService.activate(), false);
});

test('Attaches onDidChangeTextDocument listener on activation', () => {
window.onDidChangeActiveTextEditor = sinon.fake();
window.getActiveTextEditor = sinon.fake();
Expand Down

0 comments on commit 734b123

Please sign in to comment.