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

Method tryInstallingLatest

src/AzModuleInstaller.ts:67–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

installMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected