Skip to content

Commit

Permalink
installation: Address deprecation warning in sample script (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
alambert authored Dec 7, 2024
1 parent f34c58e commit 82d8f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _i18n/en/_docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ rpc.exports.enumerateModules = () => {
script.on("message", on_message)
script.load()

print([m["name"] for m in script.exports.enumerate_modules()])
print([m["name"] for m in script.exports_sync.enumerate_modules()])
{% endhighlight %}

If you are on GNU/Linux, issue:
Expand Down

0 comments on commit 82d8f72

Please sign in to comment.