Fixed typo

Signed-off-by: Hassan Tanveer <hassan.tanveer0097@gmail.com>
This commit is contained in:
Hassan Tanveer 2023-05-15 20:45:04 +00:00
parent db3a907c24
commit 3e2c4408f1
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ func (o *Options) runCheck() error {
fmt.Fprintln(w, "UNSET")
continue
}
checkErr := checkScrip(script)
checkErr := checkScript(script)
if checkErr != nil {
failed = true
fmt.Fprintf(w, "%s: %s\t\n", "ERROR", strings.TrimSpace(checkErr.Error()))
@ -80,7 +80,7 @@ func (o *Options) runCheck() error {
return nil
}
func checkScrip(script string) error {
func checkScript(script string) error {
ctx, cancel := context.WithTimeout(context.TODO(), time.Second)
defer cancel()
l, err := luavm.NewWithContext(ctx)