-
Notifications
You must be signed in to change notification settings - Fork 42
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 shouldProvide.ts #56
base: master
Are you sure you want to change the base?
Conversation
For some paths like "@/a.js". It's very common in vue-cli project.
src/shouldProvide.ts
Outdated
@@ -50,8 +51,15 @@ function startsWithADot(textCurrentLine: string, position: number) { | |||
&& textWithinString[0] === '.'; | |||
} | |||
|
|||
function startsWithAtPath(textCurrentLine: string, position: number) { |
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.
function startsWithAtPath(textCurrentLine: string, position: number) { | |
function startsWithAnAtSymbol(textCurrentLine: string, position: number) { |
Hey, you changed the name as I suggested, but you left the function name itself unchanged.
You should update that too.
Have a nice day 😄
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.
Sorry about that. I'm outside now so I used github's "Add suggestion to batch" function to merge your change. I'll fix it on Monday.
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.
done
Co-Authored-By: blackmiaool <blackmiaool@gmail.com>
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.
LGTM :)
For some paths like "@/a.js".
It's very common in vue-cli project.