diff options
| author | YURII D. <gkhelloworld@gmail.com> | 2024-07-27 09:57:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-27 08:57:59 +0200 |
| commit | 54a8ea0bc36d6bb401b942bb2644c316c55c4ff9 (patch) | |
| tree | 8fac99fa9234fa13c9d9150a9f898a9a5d06a4e4 | |
| parent | 7b5da87f927503f2120b882dea0fc7d927c227e0 (diff) | |
Update js.go (#71)
typographical error
| -rw-r--r-- | js.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ func scrape(vm *goja.Runtime) (ScrapeFunc, error) { scrapefn, ok := defaultfn.Export().(func(goja.FunctionCall) goja.Value) if !ok { - return nil, errors.New("failed to export scrape funtion") + return nil, errors.New("failed to export scrape function") } return func(p ScrapeParams) (any, error) { |