Skip to content

Commit c0fbfc6

Browse files
author
Vikas Agarwal
committed
Fixed if else
1 parent 12a387a commit c0fbfc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/constants/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ module.exports = (() => {
33

44
// for security reason don't let to require any arbitrary file defined in process.env
55
if (['master', 'qa'].indexOf(branch) < 0) {
6-
return require('./' + branch)
7-
} else {
86
return require('./dev')
97
}
8+
return require('./' + branch)
109
})()

0 commit comments

Comments
 (0)