Skip to content

Commit

Permalink
Fix ESLint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fadenb committed Oct 6, 2020
1 parent 20c0951 commit bde03cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ try {

// Join channel (if we are already in the channel this does nothing)
client.joinRoom(channel).then(() => {
console.log('Joined channel');
core.info('Joined channel');
});

// Send message
Expand All @@ -43,7 +43,7 @@ try {
client.sendEvent(channel, 'm.room.message', content, '').then(() => {
// message sent successfully
}).catch((err) => {
console.log(err);
core.error(err);
});
} catch (error) {
core.setFailed(error.message);
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try {

// Join channel (if we are already in the channel this does nothing)
client.joinRoom(channel).then(() => {
console.log('Joined channel');
core.info('Joined channel');
});

// Send message
Expand All @@ -36,7 +36,7 @@ try {
client.sendEvent(channel, 'm.room.message', content, '').then(() => {
// message sent successfully
}).catch((err) => {
console.log(err);
core.error(err);
});
} catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit bde03cc

Please sign in to comment.