File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -929,7 +929,9 @@ jobs:
929
929
with :
930
930
name : dylibs
931
931
path : ./build
932
- - run : |
932
+
933
+ - name : Insert dylibs
934
+ run : |
933
935
mv ./build/*amd64.dylib ./site/out/bin/coder-amd64.dylib
934
936
mv ./build/*arm64.dylib ./site/out/bin/coder-arm64.dylib
935
937
mv ./build/*.h ./site/out/bin/coder-dylib.h
Original file line number Diff line number Diff line change @@ -57,9 +57,12 @@ func (f *pipeConn) Write(p []byte) (n int, err error) {
57
57
}
58
58
59
59
func (f * pipeConn ) Close () error {
60
- _ = f .r .Close ()
61
- _ = f .w .Close ()
62
- return nil
60
+ rErr := f .r .Close ()
61
+ wErr := f .w .Close ()
62
+ if rErr != nil {
63
+ return rErr
64
+ }
65
+ return wErr
63
66
}
64
67
65
68
func newFdConn (cReadFD , cWriteFD int32 ) (io.ReadWriteCloser , error ) {
You can’t perform that action at this time.
0 commit comments