Skip to content

Commit

Permalink
Fixes #166
Browse files Browse the repository at this point in the history
Raise an error if on non-x64 architectures, `miniconda-version` is *not*
specified, instead of when it *is* specified.
  • Loading branch information
chrisjbillington committed Aug 9, 2021
1 parent 72a8686 commit 3104b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const RULES: IRule[] = [
constants.KNOWN_EXTENSIONS
}`,
(i) =>
!!(i.minicondaVersion && i.architecture !== "x64") &&
!!(!i.minicondaVersion && i.architecture !== "x64") &&
`'architecture: ${i.architecture}' requires "miniconda-version"`,
];

Expand Down

0 comments on commit 3104b4e

Please sign in to comment.