Skip to content

Commit 260560d

Browse files
committed
debug
Signed-off-by: Grant Linville <[email protected]>
1 parent 8c1f3c6 commit 260560d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration/helpers.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import (
88
func GPTScriptExec(args ...string) (string, error) {
99
cmd := exec.Command("../bin/gptscript", args...)
1010
if runtime.GOOS == "windows" {
11-
out, _ := exec.Command("dir", "..\\bin").CombinedOutput()
12-
println(string(out))
13-
cmd = exec.Command("..\\bin\\gptscript", args...)
11+
_ = exec.Command("rename", "..\\bin\\gptscript", "gptscript.exe").Run()
12+
cmd = exec.Command("..\\bin\\gptscript.exe", args...)
1413
}
1514

1615
out, err := cmd.CombinedOutput()

0 commit comments

Comments
 (0)