Skip to content

Commit 19bc9a5

Browse files
committed
Fix eslint: no-lonely-if
1 parent 671edb6 commit 19bc9a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/build.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,8 @@ const generate = async (config, lang) => {
121121
} else if (row.startsWith('- ')) {
122122
block = BLOCK_LIST;
123123
lines.push(row);
124-
} else {
125-
if (row !== '// prettier-ignore') {
126-
lines.push(row);
127-
}
124+
} else if (row !== '// prettier-ignore') {
125+
lines.push(row);
128126
}
129127
}
130128
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy