You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor thing, maybe not even an issue but the expected behavior. When I run lib list -b command without any libraries and any cores installed, I always get a 0 exit code. However, when I have at least one user library installed, but still no cores, I always get a non-zero, 1 exit code. This feels inconsistent.
I believe the issue lies in the sequence by which errors are handled.
An empty list of libraries returns before entering the filter phase.
Maybe in this case we should first address the filter and handle its presence
Bug Report
This is a minor thing, maybe not even an issue but the expected behavior. When I run
lib list -b
command without any libraries and any cores installed, I always get a0
exit code. However, when I have at least one user library installed, but still no cores, I always get a non-zero,1
exit code. This feels inconsistent.Current behavior
Expected behavior
I would expect to have
1
exit code with a similar error message (platform x:y is not installed
) when no user libraries and no cores are installed.Environment
arduino-cli version
):arduino-cli Version: 0.13.0 Commit: 693a045
10.15.6 (19G2021)
)Additional context
If this is the expected behavior, please close the issue with a remark. Thank you!
The text was updated successfully, but these errors were encountered: