mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-21 13:03:22 +00:00
chore: fix dofile comment doc
This commit is contained in:
parent
245400e43d
commit
a45b3fe1fa
@ -49,7 +49,7 @@ func DoString(rtm *rt.Runtime, code string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// DoString runs the contents of the file in the Lua runtime.
|
||||
// DoFile runs the contents of the file in the Lua runtime.
|
||||
func DoFile(rtm *rt.Runtime, filename string) error {
|
||||
data, err := os.ReadFile(filename)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user