Switching to wsl
Some checks failed
Build / build (push) Successful in 10m47s
Publish Image / publish (push) Failing after 30s
Test / build (push) Successful in 11m0s

This commit is contained in:
Charles Smith
2024-03-31 19:35:04 -04:00
parent 7a32cce8a1
commit a85dc73954
15 changed files with 91 additions and 85 deletions

View File

@@ -19,7 +19,7 @@ func Write(args ...object.Object) object.Object {
fd := int(args[0].(*object.Integer).Value)
data := []byte(args[1].(*object.String).Value)
n, err := syscall.Write(syscall.Handle(fd), data)
n, err := syscall.Write(fd, data)
if err != nil {
return newError("IOError: %s", err)
}