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 ad192e4 commit 78d4b1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 78d4b1b

Please sign in to comment.