aboutsummaryrefslogtreecommitdiff
path: root/spool/save.go
diff options
context:
space:
mode:
Diffstat (limited to 'spool/save.go')
-rw-r--r--spool/save.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/spool/save.go b/spool/save.go
index b01dc7b..f25b86a 100644
--- a/spool/save.go
+++ b/spool/save.go
@@ -4,12 +4,12 @@ import (
"encoding/csv"
"fmt"
"os"
- "path"
+ "path/filepath"
)
// Save writes a spool on the disk
func (s *Spool) Save() (err error) {
- file, err := os.Create(path.Join(s.config.WorkDir(), spoolFile))
+ file, err := os.Create(filepath.Join(s.config.WorkDir(), spoolFile))
if err != nil {
return
}