Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: Jan Milenkov <[email protected]>
  • Loading branch information
instamenta and jeromy-cannon authored Nov 7, 2024
1 parent b4f5c51 commit 0892da7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,31 +467,31 @@ export async function promptOutputDir (task: ListrTaskWrapper<any, any, any>, in
export async function promptGrpcTlsCertificatePath (task: ListrTaskWrapper<any, any, any>, input: any) {
return await promptText(task, input,
flags.grpcTlsCertificatePath.definition.defaultValue,
'Enter alias and path to TLS certificate for gRPC (ex. alias=path )',
'Enter node alias and path to TLS certificate for gRPC (ex. nodeAlias=path )',
null,
flags.grpcTlsCertificatePath.name)
}

Check warning on line 473 in src/commands/prompts.ts

View check run for this annotation

Codecov / codecov/patch

src/commands/prompts.ts#L468-L473

Added lines #L468 - L473 were not covered by tests

export async function promptGrpcWebTlsCertificatePath (task: ListrTaskWrapper<any, any, any>, input: any) {
return await promptText(task, input,
flags.grpcWebTlsCertificatePath.definition.defaultValue,
'Enter alias and path to TLS certificate for gGRPC web (ex. alias=path )',
'Enter node alias and path to TLS certificate for gGRPC web (ex. nodeAlias=path )',
null,
flags.grpcWebTlsCertificatePath.name)
}

Check warning on line 481 in src/commands/prompts.ts

View check run for this annotation

Codecov / codecov/patch

src/commands/prompts.ts#L476-L481

Added lines #L476 - L481 were not covered by tests

export async function promptGrpcTlsKeyPath (task: ListrTaskWrapper<any, any, any>, input: any) {
return await promptText(task, input,
flags.grpcTlsKeyPath.definition.defaultValue,
'Enter alias and path to TLS certificate key for gRPC (ex. alias=path )',
'Enter node alias and path to TLS certificate key for gRPC (ex. nodeAlias=path )',
null,
flags.grpcTlsKeyPath.name)
}

Check warning on line 489 in src/commands/prompts.ts

View check run for this annotation

Codecov / codecov/patch

src/commands/prompts.ts#L484-L489

Added lines #L484 - L489 were not covered by tests

export async function promptGrpcWebTlsKeyPath (task: ListrTaskWrapper<any, any, any>, input: any) {
return await promptText(task, input,
flags.grpcWebTlsKeyPath.definition.defaultValue,
'Enter alias and path to TLS certificate key for gGRPC Web (ex. alias=path )',
'Enter node alias and path to TLS certificate key for gGRPC Web (ex. nodeAlias=path )',
null,
flags.grpcWebTlsKeyPath.name)
}

Check warning on line 497 in src/commands/prompts.ts

View check run for this annotation

Codecov / codecov/patch

src/commands/prompts.ts#L492-L497

Added lines #L492 - L497 were not covered by tests
Expand Down

0 comments on commit 0892da7

Please sign in to comment.