Skip to content

Commit 7124ab4

Browse files
committed
chore(config): format json config files on save
1 parent c252014 commit 7124ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/main/cache/disk-cache.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class DiskCacheServiceImpl extends AbstractCacheService {
6666
try {
6767
logger.trace('writing cache to disk', { filepath });
6868
const cache = await this.delegate.readCache();
69-
await fs.writeJson(filepath, cache);
69+
await fs.writeJson(filepath, cache, { spaces: 2 });
7070
logger.trace('wrote cache to disk', { filepath });
7171
} catch (error) {
7272
logger.error('error writing cache to disk', {

0 commit comments

Comments
 (0)