diff --git a/README.md b/README.md index 64cd355..75c8e3f 100644 --- a/README.md +++ b/README.md @@ -215,14 +215,6 @@ You can install `jq` using your favourite package manager or you can use other J *Recorded metadata will be reduced to only include useful information in the future.* -### Graphs - -:clock10: *coming soon-ish (working on other parts of the project atm)* - -Sneak peak - -![graph of command sequences](img/graph-command-sequences.png) - ## Known issues ### Q: I use bash on macOS and resh doesn't work diff --git a/cmd/sanitize/main.go b/cmd/sanitize/main.go index bfc2619..c4fd60a 100644 --- a/cmd/sanitize/main.go +++ b/cmd/sanitize/main.go @@ -148,7 +148,9 @@ func (s *sanitizer) sanitizeRecord(record *records.Record) error { record.PwdAfter = s.sanitizePath(record.PwdAfter) record.RealPwdAfter = s.sanitizePath(record.RealPwdAfter) record.GitDir = s.sanitizePath(record.GitDir) + record.GitDirAfter = s.sanitizePath(record.GitDirAfter) record.GitRealDir = s.sanitizePath(record.GitRealDir) + record.GitRealDirAfter = s.sanitizePath(record.GitRealDirAfter) record.Home = s.sanitizePath(record.Home) record.ShellEnv = s.sanitizePath(record.ShellEnv) @@ -166,6 +168,11 @@ func (s *sanitizer) sanitizeRecord(record *records.Record) error { log.Println("Error while snitizing GitOriginRemote url", record.GitOriginRemote, ":", err) return err } + record.GitOriginRemoteAfter, err = s.sanitizeGitURL(record.GitOriginRemoteAfter) + if err != nil { + log.Println("Error while snitizing GitOriginRemoteAfter url", record.GitOriginRemoteAfter, ":", err) + return err + } // sanitization destroys original CmdLine length -> save it record.CmdLength = len(record.CmdLine)