We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 162fb93 + 05c344f commit dd41b0cCopy full SHA for dd41b0c
internal/runners/export/log.go
@@ -101,6 +101,10 @@ func (l *Log) Run(params *LogParams) (rerr error) {
101
}
102
103
func ignoreLogFile(logFile string) (bool, error) {
104
+ if strings.EqualFold(filepath.Base(logFile), logging.FileName()) {
105
+ return true, nil
106
+ }
107
+
108
file, err := os.Open(logFile)
109
if err != nil {
110
return false, errs.Wrap(err, "failed to open log file")
0 commit comments