Fix eslint var usage error (#1077)

This commit is contained in:
Oliver Dunk
2024-01-31 15:57:02 +00:00
committed by GitHub
parent 1fb09e4e68
commit b5e36835a3

View File

@@ -38,7 +38,7 @@ function onDisconnected() {
}
function connect() {
var hostName = 'com.google.chrome.example.echo';
const hostName = 'com.google.chrome.example.echo';
appendMessage('Connecting to native messaging host <b>' + hostName + '</b>');
port = chrome.runtime.connectNative(hostName);
port.onMessage.addListener(onNativeMessage);