Skip to content

Commit

Permalink
Do not report powershell users to rollbar.
Browse files Browse the repository at this point in the history
There are no plans to support powershell at the moment.
  • Loading branch information
mitchell-as committed Sep 18, 2023
1 parent 1715420 commit cdf9d5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/subshell/subshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ func DetectShell(cfg sscommon.Configurable) (string, string) {

if !isKnownShell {
logging.Debug("Unsupported shell: %s, defaulting to OS default.", name)
rollbar.Error("Unsupported shell: %s", name) // we just want to know what this person is using
if name != "powershell" {
rollbar.Error("Unsupported shell: %s", name) // we just want to know what this person is using
}
switch runtime.GOOS {
case "windows":
name = cmd.Name
Expand Down

0 comments on commit cdf9d5e

Please sign in to comment.