A continuation of HomeBox the inventory and organization system built for the Home User
fix: filepath sep on windows (#615)
Haydenba2e66a014a0
diff --git a/backend/internal/data/migrations/migrations.go b/backend/internal/data/migrations/migrations.goindex d477df9a..2858b53a 100644--- a/backend/internal/data/migrations/migrations.go+++ b/backend/internal/data/migrations/migrations.go@@ -3,7 +3,7 @@ package migrationsimport ("embed""os"- "path/filepath"+ "path")//go:embed all:migrations@@ -28,12 +28,12 @@ func Write(temp string) error {continue}- b, err := Files.ReadFile(filepath.Join("migrations", f.Name()))+ b, err := Files.ReadFile(path.Join("migrations", f.Name()))if err != nil {return err}- err = os.WriteFile(filepath.Join(temp, f.Name()), b, 0o644)+ err = os.WriteFile(path.Join(temp, f.Name()), b, 0o644)if err != nil {return err}