yay/pkg/settings
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
..
exe feat(new engine): local install feature testing (#1867) 2022-12-29 12:34:53 +00:00
parser fix(parser): ensure data is piped when using '-' argument (#1881) 2023-01-03 19:43:15 +00:00
args.go add option/setting "AurRpcUrl" (#1809) 2022-09-18 00:05:27 +00:00
config.go feat(search): add new bys and misc fixes (#1870) 2022-12-30 19:02:32 +00:00
config_test.go Fix minor question and locale issues (#1786) 2022-08-13 22:56:23 +00:00
dirs.go fix(cache): create build directory if not systemd-run directory. closes #1612 2021-10-15 19:22:28 +02:00
dirs_test.go Fix minor question and locale issues (#1786) 2022-08-13 22:56:23 +00:00
errors.go fix(clean_menu): clean menu errors don't exit yay anymore 2021-10-27 23:45:23 +02:00
migrations.go Make provides disabled by default. Add Migration to set provides to disabled 2022-08-05 22:55:54 +02:00
migrations_test.go Make provides disabled by default. Add Migration to set provides to disabled 2022-08-05 22:55:54 +02:00
pacman.go fix: fix linting errors 2022-11-15 15:44:50 +01:00
pacman_test.go add local graph util 2022-09-06 23:25:44 +02:00
runtime.go update deps (#1868) 2022-12-29 18:42:43 +00:00