fix: make git install type remove .git extension from package dir
MODIFY
lib/driver-cli.js
lib/driver-cli.js
@@ -140,6 +140,9 @@ class DriverCommand {
}
driverData = await this.installViaNpm({driver: installSpec});
} else if (installType === INSTALL_TYPE_GIT) {
+ // git urls can have '.git' at the end, but this is not necessary and would complicate the
+ // way we download and name directories, so we can just remove it
+ installSpec = installSpec.replace(/\.git$/, '');
driverData = await this.installViaNpm({driver: installSpec});
} else {
// at this point we have either an npm package or an appium verified driver

fix: make git install type remove .git extension from package dir