Skip to content

Commit 8cc2520

Browse files
committed
standard
1 parent 6018f45 commit 8cc2520

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,9 +1120,9 @@ function assertPort (port) {
11201120
}
11211121
}
11221122

1123-
// This prevents "Unchecked runtime.lastError" errors
1123+
// Call the getter function to prevent "Unchecked runtime.lastError" errors
11241124
function ignoreLastError () {
1125-
void chrome.runtime.lastError // call the getter function
1125+
void chrome.runtime.lastError // eslint-disable-line no-void
11261126
}
11271127

11281128
function chromeCallbackWrap (callback) {

0 commit comments

Comments
 (0)