Skip to content

Commit fbe198d

Browse files
Update deprecated method and fix indentation
1 parent 9d3c757 commit fbe198d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/utils/validatorUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function getParameterValidators(parameter: ts.ParameterDeclaration, param
4040

4141
const name = tag.tagName.text;
4242
const comment = commentToString(tag.comment)
43-
?.substr((commentToString(tag.comment)?.indexOf(' ') || -1) + 1)
43+
?.substring((commentToString(tag.comment)?.indexOf(' ') || -1) + 1)
4444
.trim();
4545
const value = getCommentValue(comment);
4646

0 commit comments

Comments
 (0)