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
{{ message }}
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
Describe the bug
When calling sfpowerscripts:orchestrator:publish without set any of the environment variables SFPOWERSCRIPTS_GIT_USERNAME and SFPOWERSCRIPTS_GIT_EMAIL, causes to override the global/local git config on my local project.
To Reproduce
Steps to reproduce the behavior:
Simply call the sfpowerscripts:orchestrator:publish method or other that calls the GitIdentity() method.
Expected behavior
When the global or local Git Config was set, I thing that call the method GitIdentity is useless.
Screenshots
Platform Details (please complete the following information):
OS: macOS
Version [e.g. CLI Version eg: 1.6.6]: 13.3.1 22E261 arm64
Describe the bug
When calling sfpowerscripts:orchestrator:publish without set any of the environment variables SFPOWERSCRIPTS_GIT_USERNAME and SFPOWERSCRIPTS_GIT_EMAIL, causes to override the global/local git config on my local project.
To Reproduce
Steps to reproduce the behavior:
Simply call the sfpowerscripts:orchestrator:publish method or other that calls the GitIdentity() method.
Expected behavior
When the global or local Git Config was set, I thing that call the method GitIdentity is useless.
Screenshots
Platform Details (please complete the following information):
Additional context
Maybe validate if the global/local user configs exist and bypass the setUsernameAndEmail in this case.
The text was updated successfully, but these errors were encountered: