Skip to content

Commit b6700cd

Browse files
committed
refactor: change evaluateRule function to non async
1 parent 88e8e4f commit b6700cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/purgecss/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,10 @@ class PurgeCSS {
429429
* @param node node of postcss AST
430430
* @param selectors selectors used in content files
431431
*/
432-
private async evaluateRule(
432+
private evaluateRule(
433433
node: postcss.Node,
434434
selectors: ExtractorResultSets
435-
): Promise<void> {
435+
): void {
436436
// exit if is in ignoring state activated by an ignore comment
437437
if (this.ignore) {
438438
return;

0 commit comments

Comments
 (0)