1
0
mirror of https://github.com/Jguer/yay synced 2024-07-08 20:36:24 +00:00
yay/pkg
Joey H 8948278568
fix(parser): ensure data is piped when using '-' argument (#1881)
fix(parser): ensure data is piped when using '-' argument

Fixes #1626.

Check to see if data was actually piped to yay, otherwise it will hang
forever. This error will give users better feedback of how to use the
'-' argument (it is also the same exact error pacman throws for invalid
piped data).

Two tests were added. However, I didn't know how to add a test for the
actual part that detects whether data was piped or not (which is
essentially what this commit adds).
2023-01-03 19:43:15 +00:00
..
cmd/graph feat(new engine): local install feature testing (#1867) 2022-12-29 12:34:53 +00:00
completion Make provides disabled by default. Add Migration to set provides to disabled 2022-08-05 22:55:54 +02:00
db feat(new engine): local install feature testing (#1867) 2022-12-29 12:34:53 +00:00
dep fix(new_engine): fix devel sysupgrade (#1883) 2023-01-03 19:24:28 +00:00
download test: use T.TempDir to create temporary test directory (#1709) 2022-02-11 09:30:54 +01:00
intrange chore(version): bump major version 2021-09-08 22:28:08 +02:00
menus Mutualize local sync install (#1836) 2022-11-20 13:02:01 +00:00
multierror chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
news chore: use stdlib vars in code (#1793) 2022-08-14 17:41:54 +00:00
pgp feat(new engine): local install feature testing (#1867) 2022-12-29 12:34:53 +00:00
query feat(search): add new bys and misc fixes (#1870) 2022-12-30 19:02:32 +00:00
settings fix(parser): ensure data is piped when using '-' argument (#1881) 2023-01-03 19:43:15 +00:00
stringset chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
text support contains 2022-11-13 23:53:37 +01:00
topo feat(new engine): local install feature testing (#1867) 2022-12-29 12:34:53 +00:00
upgrade refactor(vcs): remove mux and use interface for other packages (#1859) 2022-12-18 16:37:15 +00:00
vcs refactor(vcs): remove mux and use interface for other packages (#1859) 2022-12-18 16:37:15 +00:00