Skip to content

Commit

Permalink
fix miniforge check in bundled installer provider
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Dec 31, 2020
1 parent 510ef46 commit 6689c3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19172,7 +19172,7 @@ exports.bundledMinicondaUser = {
label: "use bundled Miniconda",
provides: (inputs, options) => __awaiter(void 0, void 0, void 0, function* () {
return (inputs.minicondaVersion === "" &&
inputs.miniforgeVariant === "" &&
inputs.miniforgeVersion === "" &&
inputs.architecture === "x64" &&
inputs.installerUrl === "");
}),
Expand Down Expand Up @@ -34189,7 +34189,7 @@ exports.downloadMiniforge = downloadMiniforge;
* a particular Miniforge installer.
*/
exports.miniforgeDownloader = {
label: "download Minforge",
label: "download Miniforge",
provides: (inputs, options) => __awaiter(void 0, void 0, void 0, function* () { return inputs.miniforgeVersion !== ""; }),
installerPath: (inputs, options) => __awaiter(void 0, void 0, void 0, function* () {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/installer/bundled-miniconda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const bundledMinicondaUser: types.IInstallerProvider = {
provides: async (inputs, options) => {
return (
inputs.minicondaVersion === "" &&
inputs.miniforgeVariant === "" &&
inputs.miniforgeVersion === "" &&
inputs.architecture === "x64" &&
inputs.installerUrl === ""
);
Expand Down
2 changes: 1 addition & 1 deletion src/installer/download-miniforge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function downloadMiniforge(
* a particular Miniforge installer.
*/
export const miniforgeDownloader: types.IInstallerProvider = {
label: "download Minforge",
label: "download Miniforge",
provides: async (inputs, options) => inputs.miniforgeVersion !== "",
installerPath: async (inputs, options) => {
return {
Expand Down

0 comments on commit 6689c3c

Please sign in to comment.