aboutsummaryrefslogtreecommitdiffstats
path: root/internal/jsre/jsre.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/jsre/jsre.go')
-rw-r--r--internal/jsre/jsre.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go
index 481389304..17b686c6a 100644
--- a/internal/jsre/jsre.go
+++ b/internal/jsre/jsre.go
@@ -71,7 +71,7 @@ func New(assetPath string, output io.Writer) *JSRE {
}
go re.runEventLoop()
re.Set("loadScript", re.loadScript)
- re.Set("inspect", prettyPrintJS)
+ re.Set("inspect", re.prettyPrintJS)
return re
}