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

" slang: run at file location " seems not work correctly #460 #462

Merged
merged 4 commits into from
Feb 4, 2024

Conversation

zoomer-k
Copy link
Contributor

@zoomer-k zoomer-k commented Jan 19, 2024

fix it
#460

when atFilelocation is enable , convert path in warning to collect path
@mshr-h mshr-h self-assigned this Jan 26, 2024
@mshr-h
Copy link
Owner

mshr-h commented Jan 26, 2024

@zoomer-k
Thanks for your PR!
I don't have a Windows dev machine so I can't repro the problem.
But I understand what the problem is and the change makes sense to me.

@retar-kamuy
Can you double-check please if you have time since you're the original author of the Slang linter support?

let errPath = rex[1];
if (isWindows) {
if (this.useWSL) {
errPath = this.convertToWslPath(errPath);
Copy link
Owner

@mshr-h mshr-h Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: errPath can cause misleading since the path is not limited to error but also note/warn. Something like reportedFilepath or filePath is better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry for the delay. I also think filePath is good.
I'd like to rewrite the source code and commit it, but I'm not sure of the steps.
I apologize, but could you please instruct me on the steps?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mshr-h san
I have modified Zoomer-k san code. I would like to incorporate the modified code into this pull-request, but I don't have permission. Could you please follow Zoomer-k's instruction url on how to change permissions and grant them to me?

https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@retar-kamuy
It's already enabled by the PR author.
Seems like people with push access to the repo can also push the commit to the PR. (which means I and the PR author can push the commit but you can't)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

errPath => filePath

Co-authored-by: retar-kamuy <103509349+retar-kamuy@users.noreply.github.com>
@mshr-h mshr-h merged commit 585dc75 into mshr-h:main Feb 4, 2024
5 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