Skip to content

Commit 8e33012

Browse files
committed
only return boolean type
1 parent 3f07e31 commit 8e33012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linter/rules/invalid-change-version.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const isValidReplaceMe = (version, length) =>
1919
* A version is considered ignored if its major version is 0 and minor version is less than 2.
2020
*
2121
* @param {string} version - The version to check.
22-
* @returns {boolean|undefined} Returns true if the version is ignored, false otherwise.
22+
* @returns {boolean} Returns true if the version is ignored, false otherwise.
2323
*/
2424
const isIgnoredVersion = version => {
2525
if (version === 'v0.11.15') return true;

0 commit comments

Comments
 (0)