Skip to content

Commit a705e0d

Browse files
committed
Adapt to current version of GopherJS
1 parent a2b615d commit a705e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ func (s *Session) BuildPackage(pkg *PackageData) (*compiler.Archive, error) {
698698
for _, name := range append(pkg.GoFiles, pkg.JSFiles...) {
699699
hashFile := func() error {
700700
fp := filepath.Join(pkg.Dir, name)
701-
file, err := s.bctx.OpenFile(fp)
701+
file, err := buildutil.OpenFile(pkg.bctx, name)
702702
if err != nil {
703703
return fmt.Errorf("failed to open %v: %v", fp, err)
704704
}

0 commit comments

Comments
 (0)