()
| 65 | } |
| 66 | |
| 67 | private async tryInstallingLatest() { |
| 68 | if (this.installResult.isInstalled) { |
| 69 | core.debug(`Module already installed skipping tryInstallingLatest`); |
| 70 | return; |
| 71 | } |
| 72 | |
| 73 | if (this.version === "latest") { |
| 74 | core.debug("Latest selected, will use latest Az module available in agent as folder."); |
| 75 | this.installResult = { |
| 76 | isInstalled: true, |
| 77 | moduleSource: AzModuleSource.Folder |
| 78 | }; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | private async tryInstallFromFolder() { |
| 83 | if (this.installResult.isInstalled) { |