diff --git a/components/notifications.js b/components/notifications.js index 25c085ab..0b5bd43d 100644 --- a/components/notifications.js +++ b/components/notifications.js @@ -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, diff --git a/examples/lib/collect_credentials.js b/examples/lib/collect_credentials.js index 5f0c7e9d..df9a3573 100644 --- a/examples/lib/collect_credentials.js +++ b/examples/lib/collect_credentials.js @@ -7,7 +7,7 @@ module.exports = async function collectCredentials() { let accountName = await promptAsync('Account Name: '); let password = await promptAsync('Password: ', true); return {accountName, password}; -} +}; /** *