Skip to content

Commit a5172d8

Browse files
Update extension_modules.md
Fix a syntax error in example code.
1 parent bf7d286 commit a5172d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh-cn/manual/extension_modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727

2828
```lua
2929
task("hello")
30-
on_run(function ())
30+
on_run(function ()
3131
import("core.base.option")
3232
print(option.get("info"))
3333
end)

0 commit comments

Comments
 (0)