Skip to content

Commit

Permalink
Merge 50c9e0b into d54beb6
Browse files Browse the repository at this point in the history
  • Loading branch information
dcRUSTy committed Oct 1, 2020
2 parents d54beb6 + 50c9e0b commit f6f6409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detector/helpers/detection_results.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"log"
"os"
"os/exec"
"runtime"
"strings"
"talisman/detector/severity"
Expand Down Expand Up @@ -319,6 +320,7 @@ func (r *DetectionResults) suggestTalismanRC(filePaths []string, promptContext p
if promptContext.Interactive && runtime.GOOS != "windows" {
confirmedEntries := getUserConfirmation(entriesToAdd, promptContext)
talismanrc.Get().AddFileIgnores(confirmedEntries)
exec.Command("git", "add", ".talismanrc").CombinedOutput()
} else {
printTalismanIgnoreSuggestion(entriesToAdd)
return
Expand Down

0 comments on commit f6f6409

Please sign in to comment.