@@ -9,9 +9,6 @@ const readConfigFromFile = (config: Config): Config => {
99 if ( fileConfig . apiUrl ) {
1010 config . apiUrl = fileConfig . apiUrl ;
1111 }
12- if ( fileConfig . ciBuildId ) {
13- config . ciBuildId = fileConfig . ciBuildId ;
14- }
1512 if ( fileConfig . branchName ) {
1613 config . branchName = fileConfig . branchName ;
1714 }
@@ -21,6 +18,9 @@ const readConfigFromFile = (config: Config): Config => {
2118 if ( fileConfig . apiKey ) {
2219 config . apiKey = fileConfig . apiKey ;
2320 }
21+ if ( fileConfig . ciBuildId ) {
22+ config . ciBuildId = fileConfig . ciBuildId ;
23+ }
2424 if ( fileConfig . enableSoftAssert !== undefined ) {
2525 config . enableSoftAssert = fileConfig . enableSoftAssert ;
2626 }
@@ -32,9 +32,6 @@ const readConfigFromEnv = (config: Config): Config => {
3232 if ( process . env [ "VRT_APIURL" ] ) {
3333 config . apiUrl = process . env [ "VRT_APIURL" ] ;
3434 }
35- if ( process . env [ "VRT_CIBUILDID" ] ) {
36- config . ciBuildId = process . env [ "VRT_CIBUILDID" ] ;
37- }
3835 if ( process . env [ "VRT_BRANCHNAME" ] ) {
3936 config . branchName = process . env [ "VRT_BRANCHNAME" ] ;
4037 }
@@ -44,6 +41,9 @@ const readConfigFromEnv = (config: Config): Config => {
4441 if ( process . env [ "VRT_APIKEY" ] ) {
4542 config . apiKey = process . env [ "VRT_APIKEY" ] ;
4643 }
44+ if ( process . env [ "VRT_CIBUILDID" ] ) {
45+ config . ciBuildId = process . env [ "VRT_CIBUILDID" ] ;
46+ }
4747 if ( process . env [ "VRT_ENABLESOFTASSERT" ] !== undefined ) {
4848 config . enableSoftAssert = process . env [ "VRT_ENABLESOFTASSERT" ] === "true" ;
4949 }
0 commit comments