signer/rules: use goja and remove otto (#20599)

* signer: replace otto with goja

* go.mod: remove Otto
This commit is contained in:
Guillaume Ballet
2020-01-29 13:47:56 +01:00
committed by GitHub
parent a903912b96
commit 594e038e75
4 changed files with 26 additions and 31 deletions

View File

@ -337,7 +337,7 @@ func TestStorage(t *testing.T) {
if err != nil {
t.Errorf("Unexpected error %v", err)
}
retval, err := v.ToString()
retval := v.ToString().String()
if err != nil {
t.Errorf("Unexpected error %v", err)