Skip to content

Commit

Permalink
update book
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Nov 9, 2024
1 parent 95245d2 commit b79eaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/rhai/scripts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Scripts are useful for automating tasks that are not part of the build process,

## Calling from Hooks

Scripts can be called from hooks using `HEMTT.script(<script>)`. The script will still only have access to the real file system.
Scripts can be called from other scripts or from hooks using `HEMTT.script(<script>)`. The script will still only have access to the real file system.

The script can return a value that will be passed back to the hook.

Expand Down

0 comments on commit b79eaec

Please sign in to comment.