| 7754 | }); |
| 7755 | } |
| 7756 | tryInstallFromFolder() { |
| 7757 | return __awaiter(this, void 0, void 0, function* () { |
| 7758 | if (this.installResult.isInstalled) { |
| 7759 | core.debug(`Module already installed skipping tryInstallFromFolder`); |
| 7760 | return; |
| 7761 | } |
| 7762 | if (FileUtils_1.default.pathExists(this.modulePath)) { |
| 7763 | core.debug(`Az ${this.version} present at ${this.modulePath} as folder.`); |
| 7764 | this.installResult = { |
| 7765 | isInstalled: true, |
| 7766 | moduleSource: exports.AzModuleSource.Folder |
| 7767 | }; |
| 7768 | } |
| 7769 | }); |
| 7770 | } |
| 7771 | tryInstallFromZip() { |
| 7772 | return __awaiter(this, void 0, void 0, function* () { |
| 7773 | if (this.installResult.isInstalled) { |