We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b02f48 commit dadb879Copy full SHA for dadb879
src/module.ts
@@ -176,7 +176,7 @@ async function _getLocalGitRemote (dir: string) {
176
try {
177
// https://www.npmjs.com/package/parse-git-config#options
178
const parseGitConfig = await import('parse-git-config' as string).then(
179
- m => m.promise
+ m => m.promise || m.default || m
180
) as (opts: { path: string }) => Promise<Record<string, Record<string, string>>>
181
const gitDir = await findNearestFile('.git/config', { startingFrom: dir })
182
const parsed = await parseGitConfig({ path: gitDir })
0 commit comments