The React SDK provides Pega customers with the ability to build DX components that connect Pega’s ConstellationJS Engine APIs with a design system other than the Pega Constellation design system.
Describe the bug
When you run the "authenticate" task from @pega/dx-component-builder-sdk and log in succesfully, the exit code is 1 (which means, error), it should be 0 (which means success).
To Reproduce
Steps to reproduce the behavior:
npx @pega/dx-component-builder-sdk authenticate
Authenticate
On windows: echo %ERRORLEVEL%, on MacOS echo $?
See error-code (1)
Expected behavior
When login is successful, exit code = 0
Screenshots
Not applicable
Desktop (please complete the following information):
OS: MacOS
Browser N/A
Version N/A
Additional context
Add any other context about the problem here.
Describe the bug When you run the "authenticate" task from
@pega/dx-component-builder-sdk
and log in succesfully, the exit code is 1 (which means, error), it should be 0 (which means success).To Reproduce Steps to reproduce the behavior:
npx @pega/dx-component-builder-sdk authenticate
echo %ERRORLEVEL%
, on MacOSecho $?
Expected behavior When login is successful, exit code = 0
Screenshots Not applicable
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
https://en.wikipedia.org/wiki/Exit_status#Shell_and_scripts
To the best of my knowledge, this is the only place where an incorrect exit code is returned.