Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format error in baseLoadFile #8

Closed
ghost opened this issue Feb 24, 2015 · 0 comments
Closed

Format error in baseLoadFile #8

ghost opened this issue Feb 24, 2015 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 24, 2015

The baseLoadFile function in baselib.go is using the incorrect Sprint version of the fmt package.

L.Push(LString(fmt.Sprint("can not open file: %v", chunkname)))

Should either be:

L.Push(LString(fmt.Sprintf("can not open file: %v", chunkname)))

or:

L.Push(LString(fmt.Sprint("can not open file:", chunkname)))
@yuin yuin closed this as completed in 61cb38d Feb 25, 2015
@yuin yuin added the bug label Feb 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant