Skip to content

Commit

Permalink
Fix eslint unused var error
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverdunk committed Jan 31, 2024
1 parent 1fb09e4 commit eced7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-samples/nativeMessaging/extension/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function onDisconnected() {
}

function connect() {
var hostName = 'com.google.chrome.example.echo';
let hostName = 'com.google.chrome.example.echo';
appendMessage('Connecting to native messaging host <b>' + hostName + '</b>');
port = chrome.runtime.connectNative(hostName);
port.onMessage.addListener(onNativeMessage);
Expand Down

0 comments on commit eced7ba

Please sign in to comment.