Skip to content

Commit

Permalink
Fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider committed Jul 16, 2024
1 parent 42ca52c commit 48a1493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsdocBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export class JsdocBuilder {
if (this.jsdoc.value.startsWith('/**\n *\n') && (this.jsdoc.value.match(/\n/g) || []).length > 2) {
this.jsdoc.value = this.jsdoc.value.substring(0, 4) + this.jsdoc.value.substring(7);
}
if (getConfig("singleLineComments", false)) {
if (getConfig('singleLineComments', false)) {
this.jsdoc.value = this.jsdoc.value.replace(/^\/\*\*\n \* ?(.*)\n$/, '/** $1');
}
this.jsdoc.appendText(' */\n');
Expand Down

0 comments on commit 48a1493

Please sign in to comment.