Skip to content

Commit

Permalink
fix(support): Enable shell option on Windows (#19996)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Apr 12, 2024
1 parent d7cf013 commit 572037a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/support/lib/npm.js
Expand Up @@ -272,7 +272,10 @@ export class NPM {
async getPackageInfo(pkg, entries = []) {
return (await this.exec('info', [pkg, ...entries], {
cwd: process.cwd(),
json: true
json: true,
}, {
// https://discuss.appium.io/t/appium-driver-install-fails-while-checking-drivers-compatibility/42209
shell: system.isWindows(),
})).json;
}
}
Expand Down

0 comments on commit 572037a

Please sign in to comment.