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

update:goptest absolutly path output #61

Merged
merged 7 commits into from
May 8, 2024

Conversation

luoliwoshang
Copy link

@luoliwoshang luoliwoshang commented Mar 22, 2024

Because the cl error output directory of goptest is the path relative to the project root directory, when absolute path stitching is called, the test directory is changed to the project directory (the project directory is the nearest directory with go.mod)

  • When goptest throws an error, change it to output to absolute path

result

/Users/xxxxxx/go-learn/test/test.gop:2:9: undefined: a1

@luoliwoshang luoliwoshang changed the title [WIP] update:goptest absolutly path output update:goptest absolutly path output Mar 22, 2024
src/utils/pathUtils.ts Outdated Show resolved Hide resolved
src/utils/pathUtils.ts Outdated Show resolved Hide resolved
@xushiwei xushiwei requested a review from visualfc May 8, 2024 02:48
@xushiwei xushiwei merged commit dc065c1 into goplus:goplus May 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants