Skip to content

Commit

Permalink
chore: inverted an if
Browse files Browse the repository at this point in the history
  • Loading branch information
LuXDAmore committed Jan 26, 2021
1 parent c5a3c08 commit 974e4e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export default function nuxtPruneHtml(

for( const s of selectors ) {

const selector = ! selectorToKeep
? s
: `${ s }:not(${ selectorToKeep })`
const selector = selectorToKeep
? `${ s }:not(${ selectorToKeep })`
: s
;

$(
Expand Down

0 comments on commit 974e4e5

Please sign in to comment.