Skip to content
Permalink
Browse files

update for upstream API change

  • Loading branch information
dmitshur committed Feb 9, 2020
1 parent 6a09b3b commit 30f639db26d4571d42e2aa4c5d19c2a47c2151c6
Showing with 4 additions and 1 deletion.
  1. +4 −1 gopherjslib.go
@@ -192,7 +192,10 @@ func (b *builder) Build() error {
files = append(files, f)
}

s := build.NewSession(b.options)
s, err := build.NewSession(b.options)
if err != nil {
return err
}

importContext := &compiler.ImportContext{
Packages: s.Types,

0 comments on commit 30f639d

Please sign in to comment.
You can’t perform that action at this time.