Skip to content

Commit ec2be0c

Browse files
kuhetrivikr
andauthored
use single line comments for the example description
Co-authored-by: Trivikram Kamat <[email protected]>
1 parent b1f9326 commit ec2be0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/CommandGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private String getCuratedExamples(String commandName) {
252252
.append("\n")
253253
.append(String.format("@example %s%n", example.getTitle()))
254254
.append("```javascript\n")
255-
.append(String.format("/* %s */%n", example.getDocumentation().orElse("")))
255+
.append(String.format("// %s%n", example.getDocumentation().orElse("")))
256256
.append("""
257257
const input = %s;
258258
const command = new %s(input);

0 commit comments

Comments
 (0)