-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Conversation
when atFilelocation is enable , convert path in warning to collect path
@zoomer-k @retar-kamuy |
src/linter/SlangLinter.ts
Outdated
let errPath = rex[1]; | ||
if (isWindows) { | ||
if (this.useWSL) { | ||
errPath = this.convertToWslPath(errPath); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May i fix it?
maybe useful
https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion could commit to PR
https://bake0937.hatenablog.com/entry/2020/08/17/225229
errPath => filePath Co-authored-by: retar-kamuy <103509349+retar-kamuy@users.noreply.github.com>
fix it
#460