MCPcopy Create free account
hub / github.com/Azure/powershell / tryInstallingLatest

Method tryInstallingLatest

lib/index.js:7741–7755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers 1

installMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected