Skip to content

Commit

Permalink
Fixed eslint errors
Browse files Browse the repository at this point in the history
#npm-publish
  • Loading branch information
DoctorMcKay committed Sep 3, 2024
1 parent 39f6124 commit 686d773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ SteamUserBase.prototype._handlerManager.add('SteamNotificationClient.Notificatio
let bodyData = null;
try {
bodyData = JSON.parse(notif.body_data);
} catch (ex) {}
} catch (ex) {
// don't care
}

return {
id: notif.notification_id,
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/collect_credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async function collectCredentials() {
let accountName = await promptAsync('Account Name: ');
let password = await promptAsync('Password: ', true);
return {accountName, password};
}
};

/**
*
Expand Down

0 comments on commit 686d773

Please sign in to comment.