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

xmake check command return unwanted header in syntax error message #3553

Closed
MaxwellGengYF opened this issue Mar 23, 2023 · 2 comments
Closed
Labels
Milestone

Comments

@MaxwellGengYF
Copy link
Contributor

Xmake Version

2.7.7

Operating System Version and Architecture

Any OS

Describe Bug

xmake check return syntax error with header
@programdir/core/base/interpreter.lua:1679:
this should be avoid so that message can be recognized.

Expected Behavior

Remove this header from message.

Project Configuration

No response

Additional Information and Error Logs

No response

@waruqi
Copy link
Member

waruqi commented Mar 23, 2023

related pr: xmake-io/xmake-vscode#177

it will ignore this error in sub-directory xmake.lua

error: @programdir/core/base/interpreter.lua:1680: ./test/xmake.lua:13: attempt to index a nil val
ue (global 'a')
stack traceback:
    [./test/xmake.lua:13]: in main chunk

@waruqi
Copy link
Member

waruqi commented Mar 23, 2023

I have fixed on dev. xmake update -s dev

@waruqi waruqi closed this as completed Mar 23, 2023
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

2 participants