Open meisZWFLZ opened 5 months ago
Sorry for this being an issue. We'll take a look. In the meantime, if your CLI breaks due to a malformed conductor.pros
use pros c reset
to reset the malformed file.
pros c reset
throws the same error as pros --version
with a broken conductor.pros
. But its fine, since I already manually fixed the conductor.pros
file.
Expected Behavior:
If I attempt to add a malformed depot, it shouldn't break other commands.
Actual Behavior:
The malformed template gets added to
conductor.pros
. This means that when you attempt to run any command, pros-cli will first attempt to parseconductor.pros
, but since the template was malformed, so isconductor.pros
, and thusjsonpickle
throws an error.error
Steps to reproduce:
With npm installed: powershell:
not windows:
This also happens attempting to apply any template.
If you want to fix your cli after running the above commands, remove the malformed depot from
conductor.pros
.System information:
Operating System: Windows 11 pros-cli: 3.5.1