Skip to content

Commit d74258a

Browse files
clydinalan-agius4
authored andcommitted
refactor(@angular/build): fix linting errors for updated Sass processing
1 parent 09e5796 commit d74258a

File tree

2 files changed

+2
-2
lines changed
  • packages

2 files changed

+2
-2
lines changed

packages/angular/build/src/tools/esbuild/stylesheets/sass-language.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function isSassException(error: unknown): error is Exception {
2323

2424
export function shutdownSassWorkerPool(): void {
2525
if (sassWorkerPool) {
26-
sassWorkerPool.close();
26+
void sassWorkerPool.close();
2727
sassWorkerPool = undefined;
2828
} else if (sassWorkerPoolPromise) {
2929
void sassWorkerPoolPromise.then(shutdownSassWorkerPool);

packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function getStylesConfig(wco: WebpackConfigOptions): Promise<Config
6666
extraPlugins.push({
6767
apply(compiler) {
6868
compiler.hooks.shutdown.tap('sass-worker', () => {
69-
sassImplementation.close();
69+
void sassImplementation.close();
7070
});
7171
},
7272
});

0 commit comments

Comments
 (0)