Skip to content

Commit 58be3f9

Browse files
revert code
1 parent c3e5cfe commit 58be3f9

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-cli",
3-
"version": "4.1.38-beta.1",
3+
"version": "4.1.37",
44
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
55
"files": [
66
"dist/**/*"

src/lib/env.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export default (): Env => {
2424
USE_REMOTE_DISCOVERY,
2525
SMART_GIT,
2626
SHOW_RENDER_ERRORS,
27-
SMARTUI_SSE_URL='https://server-events.lambdatest.com',
28-
LT_SDK_SKIP_EXECUTION_LOGS
27+
SMARTUI_SSE_URL='https://server-events.lambdatest.com'
2928
} = process.env
3029

3130
return {
@@ -51,7 +50,6 @@ export default (): Env => {
5150
USE_REMOTE_DISCOVERY: USE_REMOTE_DISCOVERY === 'true',
5251
SMART_GIT: SMART_GIT === 'true',
5352
SHOW_RENDER_ERRORS: SHOW_RENDER_ERRORS === 'true',
54-
SMARTUI_SSE_URL,
55-
LT_SDK_SKIP_EXECUTION_LOGS: LT_SDK_SKIP_EXECUTION_LOGS === 'true'
53+
SMARTUI_SSE_URL
5654
}
5755
}

src/tasks/exec.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ export default (ctx: Context): ListrTask<Context, ListrRendererFactory, ListrRen
3131

3232
// Handle standard output
3333
let totalOutput = '';
34-
if (!ctx.env.LT_SDK_SKIP_EXECUTION_LOGS) {
35-
const output = createWritable((chunk: string) => {
36-
totalOutput += chunk;
37-
task.output = chalk.gray(totalOutput);
38-
})
39-
childProcess.stdout?.pipe(output);
40-
childProcess.stderr?.pipe(output);
41-
}
34+
const output = createWritable((chunk: string) => {
35+
totalOutput += chunk;
36+
task.output = chalk.gray(totalOutput);
37+
})
38+
childProcess.stdout?.pipe(output);
39+
childProcess.stderr?.pipe(output);
4240

4341
childProcess.on('error', (error) => {
4442
task.output = chalk.gray(`error: ${error.message}`);

src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export interface Env {
124124
SMART_GIT: boolean;
125125
SHOW_RENDER_ERRORS: boolean;
126126
SMARTUI_SSE_URL: string;
127-
LT_SDK_SKIP_EXECUTION_LOGS: boolean;
128127
}
129128

130129
export interface Snapshot {

0 commit comments

Comments
 (0)