()
| 80 | } |
| 81 | |
| 82 | private async tryInstallFromFolder() { |
| 83 | if (this.installResult.isInstalled) { |
| 84 | core.debug(`Module already installed skipping tryInstallFromFolder`); |
| 85 | return; |
| 86 | } |
| 87 | |
| 88 | if (FileUtils.pathExists(this.modulePath)) { |
| 89 | core.debug(`Az ${this.version} present at ${this.modulePath} as folder.`); |
| 90 | this.installResult = { |
| 91 | isInstalled: true, |
| 92 | moduleSource: AzModuleSource.Folder |
| 93 | }; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | private async tryInstallFromZip() { |
| 98 | if (this.installResult.isInstalled) { |