Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Don't scan in git diff views #28

Open
st-schneider opened this issue Apr 29, 2020 · 2 comments
Open

Don't scan in git diff views #28

st-schneider opened this issue Apr 29, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@st-schneider
Copy link

Currently it seems to run whenever it sees an import. That includes also read-only diff views and also both sides, that seems highly unnecessary since depending on the commit you are looking at, none of the code exists anymore.

@bmvermeer
Copy link
Collaborator

Hi, @bm-stschneider thanks for your comment. Currently, it scans when you open a JavaScript, TypeScript, or HTML file and your package.json file.
Can you please elaborate on this issue and how to reproduce and we can look if we can make VSCode exclude this view from scanning.

@st-schneider
Copy link
Author

just open a javascript file from gitlens from a previous commit or from a comparison of branches and the scan will go off in the diff view of that commit.

@bmvermeer bmvermeer added the enhancement New feature or request label May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants