Skip to content

Commit 67c8214

Browse files
author
bmanczak
committed
linter fix
1 parent 9c67a4b commit 67c8214

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/utils/eventLogger.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function logErrorEvent(app, version, name, data = {}) {
1010
// this API endpoint was decommissioned
1111
return;
1212

13-
/* eslint-disable no-alert, no-unreachable */
13+
/* eslint-disable no-unreachable */
1414
fetch(`${getEventLoggerBase()}/error`, {
1515
method: 'POST', // *GET, POST, PUT, DELETE, etc.
1616
mode: 'cors', // no-cors, cors, *same-origin
@@ -27,6 +27,7 @@ export default function logErrorEvent(app, version, name, data = {}) {
2727
client_version: version,
2828
}), // body data type must match "Content-Type" header
2929
}).catch(() => { console.error('Event logging error'); });
30-
/* eslint-enable no-alert, no-unreachable */
30+
/* eslint-enable no-unreachable */
3131

32+
// eslint-disable-next-line padded-blocks
3233
}

0 commit comments

Comments
 (0)