Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f3f65b0

Browse files
author
Nick Litwin
committed
Fix to use coffeescript syntax
1 parent cdff296 commit f3f65b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc-constants.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ configEnvConstants = (ENV) ->
1313
domain : 'topcoder-dev.com'
1414
ENV : 'DEV'
1515

16-
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '8957921' : ''
16+
NEW_RELIC_APPLICATION_ID: if process.env.TRAVIS_BRANCH then '8957921' else ''
1717

1818
ARENA_URL : '//arena.topcoder-dev.com'
1919
BLOG_LOCATION : 'https://www.topcoder-dev.com/feed/?post_type=blog'
@@ -38,7 +38,7 @@ configEnvConstants = (ENV) ->
3838
domain : 'topcoder-qa.com'
3939
ENV : 'QA'
4040

41-
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '11199233' : ''
41+
NEW_RELIC_APPLICATION_ID: if process.env.TRAVIS_BRANCH then '11199233' else ''
4242

4343
ARENA_URL : '//arena.topcoder-qa.com'
4444
BLOG_LOCATION : 'https://www.topcoder-qa.com/feed/?post_type=blog'
@@ -63,7 +63,7 @@ configEnvConstants = (ENV) ->
6363
ENV : 'PROD'
6464
NODE_ENV : 'production'
6565

66-
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '11352758' : ''
66+
NEW_RELIC_APPLICATION_ID: if process.env.TRAVIS_BRANCH then '11352758' else ''
6767

6868
ARENA_URL : '//arena.topcoder.com'
6969
BLOG_LOCATION : 'https://www.topcoder.com/feed/?post_type=blog'

0 commit comments

Comments
 (0)