Skip to content

Commit

Permalink
fix: restore ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed May 15, 2024
1 parent ed8001f commit 6de079f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ parentPort!.on('message', (message: StartupMessage) => {
try {
if (niceIncrement !== 0 && process.platform === 'linux') {
// ts-ignore because the dependency is not installed on Windows.
// @ts-ignore
(await import('nice-napi')).default(niceIncrement);
}
} catch {}
Expand Down

0 comments on commit 6de079f

Please sign in to comment.