mirror of https://github.com/Hilbis/Hilbish
chore: fix dofile comment doc
parent
245400e43d
commit
a45b3fe1fa
|
@ -49,7 +49,7 @@ func DoString(rtm *rt.Runtime, code string) error {
|
||||||
return err
|
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 {
|
func DoFile(rtm *rt.Runtime, filename string) error {
|
||||||
data, err := os.ReadFile(filename)
|
data, err := os.ReadFile(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue