chore: fix dofile comment doc

lua5.4
TorchedSammy 2022-03-29 21:04:50 -04:00
parent 245400e43d
commit a45b3fe1fa
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -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 {