Skip to content

Commit 396bb4c

Browse files
authored
tests: update _is_restify_incompat checks (#4625)
1 parent f40f310 commit 396bb4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/_is_restify_incompat.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ function isRestifyIncompat() {
2929
const restifyVer = require('restify/package.json').version;
3030
const msg = `restify@${restifyVer} is incompatible with node@${nodeVer}`;
3131

32+
if (semver.satisfies(nodeVer, '>=24.0.0', { includePrerelease: true })) {
33+
return msg;
34+
}
3235
if (
3336
semver.satisfies(restifyVer, '<10.0.0') &&
3437
semver.satisfies(nodeVer, '>=18.0.0', { includePrerelease: true })

0 commit comments

Comments
 (0)