Skip to content

Commit 3e44d15

Browse files
committed
toslash for state files
1 parent dd3f9f5 commit 3e44d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundle/bundle.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ func (b *Bundle) AuthEnv() (map[string]string, error) {
324324

325325
// StateFilenameDirect returns (relative remote path, relative local path) for direct engine resource state
326326
func (b *Bundle) StateFilenameDirect(ctx context.Context) (string, string) {
327-
return resourcesFilename, filepath.Join(b.GetLocalStateDir(ctx), resourcesFilename)
327+
return resourcesFilename, filepath.ToSlash(filepath.Join(b.GetLocalStateDir(ctx), resourcesFilename))
328328
}
329329

330330
func (b *Bundle) StateFilenameTerraform(ctx context.Context) (string, string) {
331-
return terraformStateFilename, filepath.Join(b.GetLocalStateDir(ctx), "terraform", terraformStateFilename)
331+
return terraformStateFilename, filepath.ToSlash(filepath.Join(b.GetLocalStateDir(ctx), "terraform", terraformStateFilename))
332332
}

0 commit comments

Comments
 (0)