Skip to content

Commit

Permalink
refactor: initial changes after first check in
Browse files Browse the repository at this point in the history
  • Loading branch information
spmeesseman committed Apr 11, 2019
1 parent aa3c4cc commit a2e822f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"semantic-release-vsce",
{
"path": "@semantic-release/github",
"assets": "vscode-taskexplorer.vsix"
"assets": "vscode-vslauncher.vsix"
}
],
"packageVsix": "vscode-taskexplorer.vsix"
"packageVsix": "vscode-vslauncher.vsix"
}
8 changes: 4 additions & 4 deletions src/common/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
WorkspaceConfiguration
} from "vscode";

const taskExplorer = "taskExplorer";
const vsLauncher = "vsLauncher";

class Configuration {
private configuration: WorkspaceConfiguration;
Expand All @@ -20,16 +20,16 @@ class Configuration {
}

constructor() {
this.configuration = workspace.getConfiguration(taskExplorer);
this.configuration = workspace.getConfiguration(vsLauncher);
workspace.onDidChangeConfiguration(this.onConfigurationChanged, this);
}

private onConfigurationChanged(event: ConfigurationChangeEvent) {
if (!event.affectsConfiguration(taskExplorer)) {
if (!event.affectsConfiguration(vsLauncher)) {
return;
}

this.configuration = workspace.getConfiguration(taskExplorer);
this.configuration = workspace.getConfiguration(vsLauncher);

this._onDidChange.fire(event);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/testUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function spawn(

export function activeExtension() {
return new Promise<void>((resolve, reject) => {
const extension = extensions.getExtension("spmeesseman.vscode-taskexplorer");
const extension = extensions.getExtension("spmeesseman.vscode-vslauncher");
if (!extension) {
reject();
return;
Expand Down

0 comments on commit a2e822f

Please sign in to comment.