Skip to content

Commit

Permalink
updating checks and polyfill for node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
crysmags committed May 17, 2024
1 parent 497b7b6 commit f656547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dc-polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (!checks.hasChUnsubscribeReturn()) {
dc = require('./patch-channel-unsubscribe-return.js')(dc);
}

if ((VERSION < 18.19) || (VERSION >= 19.0 && VERSION < 19.8)) {
if ((!VERSION === 18.6 || 18.7) || (VERSION < 18.19) || (VERSION >= 19.0 && VERSION <= 19.8)) {

Check failure on line 22 in dc-polyfill.js

View workflow job for this annotation

GitHub Actions / Code Linter

Unexpected constant condition

Check failure on line 22 in dc-polyfill.js

View workflow job for this annotation

GitHub Actions / Code Linter

Unexpected constant truthiness on the left-hand side of a `||` expression

Check failure on line 22 in dc-polyfill.js

View workflow job for this annotation

GitHub Actions / Code Linter

Unexpected constant truthiness on the left-hand side of a `||` expression
if (!checks.hasChannelStoreMethods()) {
dc = require('./patch-channel-store-methods.js')(dc);
}
Expand Down

0 comments on commit f656547

Please sign in to comment.