Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
fixing temp dir for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthi-tech4th committed Sep 21, 2022
1 parent ebc4ddb commit 9d46154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/register/register_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ func GetSerializeOutputFiles(ctx context.Context, args []string, archive bool) (
var err error
if os == "windows" {
fmt.Println("Windows Operating System Detected")
tempDir, err = ioutil.TempDir("\tmp", "register")
tempDir, err = ioutil.TempDir("\\tmp", "register")
} else {
tempDir, err = ioutil.TempDir("/tmp", "register")
}
Expand Down

0 comments on commit 9d46154

Please sign in to comment.