Skip to content

Commit 70bbe5d

Browse files
committed
remove extra logs
1 parent aa5da89 commit 70bbe5d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

commands/storybook.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ async function storybook(serve, options) {
160160
tunnel: options.tunnel || {},
161161
}
162162

163-
console.log('[smartui] Payload: ', JSON.stringify(payload, null, 2));
164-
console.log('URL : ', new URL(constants[options.env].STATIC_RENDER_PATH, constants[options.env].BASE_URL).href);
165163
// Call static render API
166164
await axios.post(new URL(constants[options.env].STATIC_RENDER_PATH, constants[options.env].BASE_URL).href, payload)
167165
.then(async function (response) {

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ program
1212
.name('smartui')
1313
.description('CLI to help you run your SmartUI tests on LambdaTest platform')
1414
.version('v' + version)
15-
.addOption(new Option('--env <prod|stage>', 'Runtime environment option').choices(['prod', 'stage', 'dev']));
15+
.addOption(new Option('--env <prod|stage>', 'Runtime environment option').choices(['prod', 'stage']));
1616

1717
const configCommand = program.command('config')
1818
.description('Manage LambdaTest SmartUI config')
@@ -52,12 +52,11 @@ program.command('storybook')
5252
}
5353
if (options.config) {
5454
options.tunnel = validateTunnel(options.config);
55-
console.log(`[smartui] Tunnel Config : ${JSON.stringify(options.tunnel, null, 2)}`);
5655
}
5756
if (options.config) {
5857
options.config = validateConfig(options.config);
5958
}
60-
59+
6160
await validateProjectToken(options);
6261
if (!options.forceRebuild) await validateLatestBuild(options);
6362
storybook(serve, options);

0 commit comments

Comments
 (0)