diff options
Diffstat (limited to 'doc/docs/doc/README.md')
-rwxr-xr-x | doc/docs/doc/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 7968a09..56d3635 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
@@ -139,7 +139,7 @@ Require YueScript module and rewite message by hand. | |||
139 | local yue = require("yue") | 139 | local yue = require("yue") |
140 | yue.insert_loader() | 140 | yue.insert_loader() |
141 | local success, result = xpcall(function() | 141 | local success, result = xpcall(function() |
142 | require("yuescript_module_name") | 142 | return require("yuescript_module_name") |
143 | end, function(err) | 143 | end, function(err) |
144 | return yue.traceback(err) | 144 | return yue.traceback(err) |
145 | end) | 145 | end) |