summaryrefslogtreecommitdiff
path: root/js.go
diff options
context:
space:
mode:
Diffstat (limited to 'js.go')
-rw-r--r--js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/js.go b/js.go
index db2c261..3b8ec20 100644
--- a/js.go
+++ b/js.go
@@ -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) {