Skip to content

Commit 3ec72d1

Browse files
committed
cache path can only be removed when temporary session is used
1 parent 83611df commit 3ec72d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/sass/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class SassCache {
163163
registerCleanup(() => {
164164
try {
165165
this.kv.close();
166-
if (!temp) safeRemoveIfExists(this.path);
166+
if (temp) safeRemoveIfExists(this.path);
167167
} catch (error) {
168168
log.info(
169169
`Error occurred during sass cache cleanup for ${this.path}: ${error}`,

0 commit comments

Comments
 (0)