Skip to content

Commit

Permalink
Fix lint stage failure
Browse files Browse the repository at this point in the history
  • Loading branch information
edfletcher committed Dec 4, 2023
1 parent 51b14ef commit b3d7ee6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cli/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = async function () {
}

const debugMessage = (msgStr) => _message(`{cyan-fg}${msgStr}{/}`, 'debug');
const systemMessage = (msgStr) => _message(`{yellow-fg}${msgStr}{/}`);
const errorMessage = (msgStr) => _message(`{red-fg}{bold}${msgStr}{/}`, 'error');

function curFgInsert (fStr, { ts, log } = { ts: true }) {
Expand Down Expand Up @@ -379,13 +378,6 @@ module.exports = async function () {
msgTrack.totalInserted.count++;
msgTrack.totalInserted.bytes += Buffer.byteLength(insStr, 'utf8');
});
} else {
// systemMessage(`(${_channel}) Unhandled message of type "${type}" in channel ${data.target} on ${data.__drcNetwork}: ${JSON.stringify(data)}`);
}
} else {
const ignoreTypes = ['irc:join', 'irc:nick', 'irc:quit', 'irc:mode', 'irc:part'];
if (!ignoreTypes.includes(type)) {
// systemMessage(`(${_channel}) Unhandled message of type "${type}" on ${data?.__drcNetwork}: ${dataJson}`);
}
}
} catch (e) {
Expand Down

0 comments on commit b3d7ee6

Please sign in to comment.