Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/fixingstaticanalysis'
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbill committed Dec 29, 2023
2 parents f1f078f + 51629f0 commit 6347538
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions extension.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-unresolved */
/* eslint-disable max-len */
/* eslint-disable no-await-in-loop */
// The module 'vscode' contains the VS Code extensibility API
Expand Down Expand Up @@ -223,7 +222,7 @@ async function pairBridge(context) {
try {
const progressOptions = {
location: vscode.ProgressLocation.Notification,
title: `Paring with Hue Bridge (${context.bridgeIp})`,
title: `Pairing with Hue Bridge (${configuration.bridgeIp})`,
cancellable: true,
};
const userId = await vscode.window.withProgress(progressOptions, (progress, token) => {
Expand Down Expand Up @@ -359,7 +358,7 @@ function displayMenuCommand(context) {
}

function registerCommands(context) {
context.subscriptions.push(vscode.commands.registerCommand('huecode.displayMenu', () => displayMenuCommand(configuration, context)));
context.subscriptions.push(vscode.commands.registerCommand('huecode.displayMenu', () => displayMenuCommand(context)));
}

// this method is called when your extension is activated
Expand All @@ -382,7 +381,7 @@ async function activate(context) {
registerCommands(context);
registerStatusBar();

// setInterval(loadHueResources, 30000);
setInterval(loadHueResources, 30000);

// context.subscriptions.push(items to dispose when deactivated);
}
Expand Down

0 comments on commit 6347538

Please sign in to comment.