Skip to content

Commit 9900d46

Browse files
authored
fix: update fix function of jsdoc-no-space-aligned-asterisks rule
PR-URL: #3111 Closes: #3109 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 31c168c commit 9900d46

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-no-space-aligned-asterisks/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-no-space-aligned-asterisks/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function main( context ) {
9494
*/
9595
function fix( fixer ) {
9696
var fixed = replace( comment, RE_LEADING_SPACE, '*' );
97-
fixed = '/*' + fixed + '/';
97+
fixed = '/*' + fixed + '*/';
9898
return fixer.replaceTextRange( range, fixed );
9999
}
100100
}

0 commit comments

Comments
 (0)