Skip to content

no targets specified as warning instead of error#1

Open
rpuntaie wants to merge 1 commit intoandrewgregory:masterfrom
rpuntaie:master
Open

no targets specified as warning instead of error#1
rpuntaie wants to merge 1 commit intoandrewgregory:masterfrom
rpuntaie:master

Conversation

@rpuntaie
Copy link

@rpuntaie rpuntaie commented Jan 22, 2021

This came up on kewlfft/ansible-aur#50

https://github.com/Jguer/yay does not produce an error if the argument list is empty.

As general arguments:

  • empty is as 0 in mathematics
  • empty avoids If-then-else in using software
  • empty makes it easier to defer the decision to provide packages or not further up the stack without if-then-else

19 test cases failed before the change and after the change. Maybe that is the current state or due to my setup,
but without correlation to the change made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant