Skip to content

Commit 8c01429

Browse files
Revert pathUtils.js
1 parent 619c8c6 commit 8c01429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/ipa/rulesets/functions/utils/pathUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export function isPathParam(str) {
1111
const pathParamRegEx = new RegExp(`^{[a-z][a-zA-Z0-9]*}$`);
1212
const pathParamWithCustomMethodRegEx = new RegExp(`^{[a-z][a-zA-Z0-9]*}:[a-z][a-zA-Z0-9]*$`);
1313
return pathParamRegEx.test(str) || pathParamWithCustomMethodRegEx.test(str);
14-
}
14+
}

0 commit comments

Comments
 (0)