Skip to content

Commit 974e4e5

Browse files
committed
chore: inverted an if
1 parent c5a3c08 commit 974e4e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/module.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ export default function nuxtPruneHtml(
5555

5656
for( const s of selectors ) {
5757

58-
const selector = ! selectorToKeep
59-
? s
60-
: `${ s }:not(${ selectorToKeep })`
58+
const selector = selectorToKeep
59+
? `${ s }:not(${ selectorToKeep })`
60+
: s
6161
;
6262

6363
$(

0 commit comments

Comments
 (0)