| 7739 | }); |
| 7740 | } |
| 7741 | tryInstallingLatest() { |
| 7742 | return __awaiter(this, void 0, void 0, function* () { |
| 7743 | if (this.installResult.isInstalled) { |
| 7744 | core.debug(`Module already installed skipping tryInstallingLatest`); |
| 7745 | return; |
| 7746 | } |
| 7747 | if (this.version === "latest") { |
| 7748 | core.debug("Latest selected, will use latest Az module available in agent as folder."); |
| 7749 | this.installResult = { |
| 7750 | isInstalled: true, |
| 7751 | moduleSource: exports.AzModuleSource.Folder |
| 7752 | }; |
| 7753 | } |
| 7754 | }); |
| 7755 | } |
| 7756 | tryInstallFromFolder() { |
| 7757 | return __awaiter(this, void 0, void 0, function* () { |
| 7758 | if (this.installResult.isInstalled) { |