diff options
| author | Kostya <mail@sartin.in> | 2026-08-18 07:29:50 +0000 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-08-18 07:29:50 +0000 |
| commit | df265dea8b0ddf3ce073f5654229f41e6240e2cb (patch) | |
| tree | c8a89a85fc6d00e3afa95a9e0eda660720c4c85c /README.md | |
| parent | d2688a197bd680580699f05e8194f9180e4832fa (diff) | |
| download | guess-market-df265dea8b0ddf3ce073f5654229f41e6240e2cb.tar.gz guess-market-df265dea8b0ddf3ce073f5654229f41e6240e2cb.tar.xz guess-market-df265dea8b0ddf3ce073f5654229f41e6240e2cb.zip | |
Harden console path input against crashes
Menu.start() runs command.execute() with no surrounding try/catch, so
an unchecked InvalidPathException from Path.of() on bad user input
crashed the whole console loop. Centralize path parsing in
InputProcessor.readPath(), which now validates and reprompts instead
of throwing, and strips a surrounding pair of quotes so pasted/quoted
paths still work.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions