Skip to content

Commit

Permalink
refactor(@angular/build): fix linting errors for updated Sass processing
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin committed May 13, 2024
1 parent 9653da6 commit 0c3cbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -23,7 +23,7 @@ function isSassException(error: unknown): error is Exception {

export function shutdownSassWorkerPool(): void {
if (sassWorkerPool) {
sassWorkerPool.close();
void sassWorkerPool.close();
sassWorkerPool = undefined;
} else if (sassWorkerPoolPromise) {
void sassWorkerPoolPromise.then(shutdownSassWorkerPool);
Expand Down
Expand Up @@ -66,7 +66,7 @@ export async function getStylesConfig(wco: WebpackConfigOptions): Promise<Config
extraPlugins.push({
apply(compiler) {
compiler.hooks.shutdown.tap('sass-worker', () => {
sassImplementation.close();
void sassImplementation.close();
});
},
});
Expand Down

0 comments on commit 0c3cbe8

Please sign in to comment.