mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
[Problem] MPF.CLI checks for device path or device path instead of device path or file path #733
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daja177 on GitHub (Aug 16, 2024).
Originally assigned to: @mnadareski on GitHub.
Version
What version are you using?
Build
What runtime version are you using?
Describe the issue
The source code implies that MPF.CLI should require both device path and file path to be specified, but due to a mistake in the check, it checks for device path or device path instead of device path or file path.
11b8dd44bb/MPF.CLI/Program.cs (L104C79-L104C89)To Reproduce
Steps to reproduce the behavior:
Expected behavior
Getting error "Both a device path and file path need to be supplied, exiting..."