Skip to content

Conversation

@LianaHus
Copy link
Contributor

No description provided.

this.source = null
if (lineColumnPos) {
this.source = filePath
if (!this.source) this.source = this._deps.fileManager.currentFile()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need to do that? i'd say if filePath is not defined the function can't anyway process and should return an error or just return.

@yann300
Copy link
Contributor

yann300 commented Oct 28, 2020

That should probably need a little e2e test.
At least to test that highlight is removed when switched to another view

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.

4 participants