Skip to content

Commit

Permalink
process.env.SUPPRESS_OSA_IMESSAGE_WARNINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
briangonzalez committed Sep 15, 2017
1 parent 427b9f5 commit 79515e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const currentVersion = require('macos-version')()
const messagesDb = require('./lib/messages-db.js')

function warn(str) {
if (!module.exports.SUPPRESS_WARNINGS) {
if (!process.env.SUPPRESS_OSA_IMESSAGE_WARNINGS) {
console.error(ol(str))
}
}
Expand Down

0 comments on commit 79515e6

Please sign in to comment.