Skip to content

Commit

Permalink
added a mapping for internal names to refer to the channels
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanthp96 authored and dfperry5 committed Aug 18, 2017
1 parent 69fba5e commit 5a42287
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ if (!channels.has(channel)) {
}

exports.channel = () => {
return channel
let channelMapping = {
'dev': 'Release',
'beta': 'Beta'
}
return Object.keys(channelMapping).includes(channel) ? channelMapping[channel] : channel
}

exports.browserLaptopRev = () => process.env.NODE_ENV === 'development'
Expand Down

0 comments on commit 5a42287

Please sign in to comment.