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

Method tryInstallFromPSGallery

lib/index.js:7812–7824  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7810 });
7811 }
7812 tryInstallFromPSGallery() {
7813 return __awaiter(this, void 0, void 0, function* () {
7814 if (this.installResult.isInstalled) {
7815 core.debug(`Module already installed skipping tryInstallFromPSGallery`);
7816 return;
7817 }
7818 yield Utils_1.default.saveAzModule(this.version, this.modulePath);
7819 this.installResult = {
7820 isInstalled: true,
7821 moduleSource: exports.AzModuleSource.PSGallery
7822 };
7823 });
7824 }
7825 getDownloadUrlFromGHRelease() {
7826 return __awaiter(this, void 0, void 0, function* () {
7827 var _a;

Callers 1

installMethod · 0.95

Calls 1

saveAzModuleMethod · 0.45

Tested by

no test coverage detected