Skip to content

Commit

Permalink
fix: node:worker_threads breaks on node 14 (#4185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 16, 2023
1 parent 1c4bd9c commit 8654ac7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cspell/src/util/cache/fileEntryCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
*/

export type { FileDescriptor } from 'file-entry-cache';
import { isMainThread } from 'node:worker_threads';

import type { FileEntryCache as FecFileEntryCache } from 'file-entry-cache';
import * as file_entry_cache from 'file-entry-cache';
import { mkdirSync } from 'fs';
import * as path from 'path';
import { isMainThread } from 'worker_threads';

export type FileEntryCache = FecFileEntryCache;

Expand Down

0 comments on commit 8654ac7

Please sign in to comment.