Closed nmedda closed 2 years ago
@nmedda thanks for the feedback (and the team appreciates your thank you :-). I'll move this issue over to our powerplatform-vscode repo/issue tracker, since it is not specific to PALT (we don't have a public GH repo for pac CLI yet, so the pp-vscode is a good in-between for now).
Tracking AzDO item: AB#2693024
Fixed in 1.15.1
Description
pac auth select -n ...
always return TrueI'm creating scripts to help manipulate my solutions in a multi developer setup. But when I select my authentication, it always returns true.
So I need to catch this error somehow, to make sure were not importing a solution if we're not targeting the expected environement.
Suggestion
Return a non zero value if there is no authentication profile that matches the requested name
P.S. : And thanks a ton for your amazing work with pac ;)