We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9643ae9 commit cf569eeCopy full SHA for cf569ee
src/utils.ts
@@ -131,7 +131,7 @@ export function getEggInfo<T extends 'async' | 'sync' = 'sync'>(option: GetEggIn
131
}
132
133
try {
134
- execFileSync(cmd, args, opt);
+ execFileSync(cmd, args, opt as any);
135
return end(parseJson(fs.readFileSync(eggInfoPath, 'utf-8')));
136
} catch (e) {
137
return end({});
0 commit comments