Skip to content

Commit 236360b

Browse files
authored
Merge pull request #3565 from hey-api/refactor/deps-open
fix: remove dynamic import of open
2 parents a23e15f + 4a863bf commit 236360b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/shared/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import fs from 'node:fs';
22
import path from 'node:path';
33

44
import colors from 'ansi-colors';
5+
import open from 'open';
56

67
import { ensureDirSync } from './fs';
78
import { loadPackageJson } from './tsConfig';
@@ -153,7 +154,6 @@ export async function openGitHubIssueWithCrashReport(
153154
title: 'Crash Report',
154155
});
155156
const url = `${packageJson.bugs.url}new?${search.toString()}`;
156-
const open = (await import('open')).default;
157157
await open(url);
158158
}
159159

0 commit comments

Comments
 (0)