issues
search
DeterminateSystems
/
nix-installer-action
The Github Action for the Determinate Nix Installer
https://github.com/determinateSystems/nix-installer
GNU Lesser General Public License v2.1
158
stars
16
forks
source link
main.ts: fixup logic to ensure only one installer url override is set
#44
Closed
colemickens
closed
11 months ago
colemickens
commented
11 months ago
Description
the use of
else if
would have made the "counting" of the url modifiers useless, so switch them to ifs.
correspondingly, update the fallthrough
else
condition to set the URL if no modifiers were passed to override it
Checklist
[x] Tested changes against a test repository
[ ] Added or updated relevant documentation (leave unchecked if not applicable)
[ ] (If this PR is for a release) Updated README to point to the new tag (leave unchecked if not applicable)
Description
else if
would have made the "counting" of the url modifiers useless, so switch them to ifs.else
condition to set the URL if no modifiers were passed to override itChecklist