fix goreleaser for v2
This commit is contained in:
@@ -23,7 +23,7 @@ func CaptureImage() bool {
|
||||
}
|
||||
|
||||
timestamp := time.Now()
|
||||
filename := timestamp.Format("axis-2006-01-02_15-04-05.jpg")
|
||||
filename := timestamp.Format("/axis-2006-01-02_15-04-05.jpg")
|
||||
err1 := os.WriteFile(config.StoragePath+filename, body, 0644)
|
||||
if err1 != nil {
|
||||
log.Fatal().Err(err1).Msgf("")
|
||||
|
||||
Reference in New Issue
Block a user