Skip to content

Commit 35342da

Browse files
Merge pull request #282 from parthlambdatest/Dot-4961
rectified error message and output visualization
2 parents cc0e051 + 7e64161 commit 35342da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/schemaValidation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const ConfigSchema = {
194194
type: {
195195
type: "string",
196196
enum: ["auto", "manual"],
197-
errorMessage: "Invalid config; type is mandatory of type string having value auto or manual",
197+
errorMessage: "Invalid config; tunnel type is mandatory parameter of type string having value auto or manual",
198198
},
199199
tunnelName: {
200200
type: "string",

src/tasks/startTunnel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default (ctx: Context): ListrTask<Context, ListrRendererFactory, ListrRen
1414
await startTunnelBinary(ctx);
1515
ctx.isStartExec = true;
1616
task.title = 'Tunnel Started';
17-
task.output = 'Tunnel started successfully';
17+
task.output = chalk.gray('Tunnel started successfully');
1818
} catch (error: any) {
1919
ctx.log.debug(error);
2020
task.output = chalk.gray(error.message);

0 commit comments

Comments
 (0)