Skip to content

Update shouldProvide.ts#56

Open
blackmiaool wants to merge 2 commits into
ChristianKohler:masterfrom
blackmiaool:master
Open

Update shouldProvide.ts#56
blackmiaool wants to merge 2 commits into
ChristianKohler:masterfrom
blackmiaool:master

Conversation

@blackmiaool

Copy link
Copy Markdown

For some paths like "@/a.js".
It's very common in vue-cli project.

For some paths like "@/a.js". 
It's very common in vue-cli project.
Comment thread src/shouldProvide.ts Outdated
Comment thread src/shouldProvide.ts Outdated
&& textWithinString[0] === '.';
}

function startsWithAtPath(textCurrentLine: string, position: number) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
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 😄

Copy link
Copy Markdown
Author

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.

Copy link
Copy Markdown
Author

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>

@MarvinJWendt MarvinJWendt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM :)

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.

2 participants