Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: node:worker_threads breaks on node 14 #4185

Merged
merged 2 commits into from
Feb 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: node:worker_threads breaks on node 14
fixes #4184
Jason3S committed Feb 16, 2023
commit 141aaf9d795d3a66a8496b05521bc2bc029d480c
2 changes: 1 addition & 1 deletion packages/cspell/src/util/cache/fileEntryCache.ts
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
*/

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

import type { FileEntryCache as FecFileEntryCache } from 'file-entry-cache';
import * as file_entry_cache from 'file-entry-cache';