File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,22 @@ export default (): Env => {
44 const {
55 PROJECT_TOKEN = '' ,
66 SMARTUI_CLIENT_API_URL = 'https://api.lambdatest.com/visualui/1.0' ,
7- LT_SDK_DEBUG ,
87 SMARTUI_GIT_INFO_FILEPATH ,
8+ SMARTUI_DO_NOT_USE_CAPTURED_COOKIES ,
99 HTTP_PROXY ,
1010 HTTPS_PROXY ,
1111 GITHUB_ACTIONS ,
1212 FIGMA_TOKEN ,
1313 LT_USERNAME ,
1414 LT_ACCESS_KEY ,
15+ LT_SDK_DEBUG ,
1516 BASELINE_BRANCH ,
1617 CURRENT_BRANCH
1718 } = process . env
1819
1920 return {
2021 PROJECT_TOKEN ,
2122 SMARTUI_CLIENT_API_URL ,
22- LT_SDK_DEBUG ,
2323 SMARTUI_GIT_INFO_FILEPATH ,
2424 HTTP_PROXY ,
2525 HTTPS_PROXY ,
@@ -29,5 +29,7 @@ export default (): Env => {
2929 LT_ACCESS_KEY ,
3030 BASELINE_BRANCH ,
3131 CURRENT_BRANCH ,
32+ LT_SDK_DEBUG : LT_SDK_DEBUG === 'true' ,
33+ SMARTUI_DO_NOT_USE_CAPTURED_COOKIES : SMARTUI_DO_NOT_USE_CAPTURED_COOKIES === 'true'
3234 }
3335}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function updateLogContext(newContext: LogContext) {
1717
1818const logLevel = ( ) : string => {
1919 let env : Env = getEnv ( ) ;
20- return ( env . LT_SDK_DEBUG === 'true' ) ? 'debug' : 'info' ;
20+ return ( env . LT_SDK_DEBUG ) ? 'debug' : 'info' ;
2121}
2222
2323// Create a Winston logger
Original file line number Diff line number Diff line change @@ -51,14 +51,15 @@ export interface Context {
5151export interface Env {
5252 PROJECT_TOKEN : string ;
5353 SMARTUI_CLIENT_API_URL : string ;
54- LT_SDK_DEBUG : string | undefined ;
54+ SMARTUI_DO_NOT_USE_CAPTURED_COOKIES : boolean ;
5555 SMARTUI_GIT_INFO_FILEPATH : string | undefined ;
5656 HTTP_PROXY : string | undefined ;
5757 HTTPS_PROXY : string | undefined ;
5858 GITHUB_ACTIONS : string | undefined ;
5959 FIGMA_TOKEN : string | undefined ;
6060 LT_USERNAME : string | undefined ;
6161 LT_ACCESS_KEY : string | undefined ;
62+ LT_SDK_DEBUG : boolean ;
6263 BASELINE_BRANCH : string | undefined ;
6364 CURRENT_BRANCH : string | undefined ;
6465}
You can’t perform that action at this time.
0 commit comments