Skip to content

Commit b9028fc

Browse files
committed
Fix output capturing
1 parent 344ef95 commit b9028fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/executor/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ type ConfigGetResponse struct {
219219
// GetDefaultOrg returns the default Salesforce org alias/username
220220
func GetDefaultOrg() (string, error) {
221221
cmd := execCommand("sf", "config", "get", "target-org", "--json")
222-
output, err := cmd.CombinedOutput()
222+
output, err := cmd.Output()
223223
if err != nil {
224224
return "", fmt.Errorf("failed to get default org: %w", err)
225225
}

0 commit comments

Comments
 (0)