Skip to content

Commit

Permalink
Revert "tweak(task): change task log file name"
Browse files Browse the repository at this point in the history
This reverts commit 71fc5ce.
  • Loading branch information
bitxeno committed Nov 23, 2023
1 parent 028d354 commit 743fd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (t *Task) writeLog(v model.InstalledApp, data []byte) {
return
}

path := filepath.Join(saveDir, fmt.Sprintf("task_%d_%s.log", v.ID, v.BundleIdentifier))
path := filepath.Join(saveDir, fmt.Sprintf("task_%d.log", v.ID))
if err := os.WriteFile(path, data, 0644); err != nil {
log.Error("write task log failed :" + path)
return
Expand Down

0 comments on commit 743fd1d

Please sign in to comment.