trim minified file line to the part that matches rule

Description

Repository scan page displays a line of code that vulnerability if found in. Bundled file are minified to a single line, which means whole file is returned. We need to check the length of the line and trim it to the part that has vulnerability when line exceeds some limit.

Activity

Show:
Andrey Levchenko
January 23, 2020, 1:10 PM

I’ve included a fix to SOTERIA-8

Assignee

Mohammed Davoodi

Reporter

Rytis Tarasevicius

Sprint

None

Labels

None

Github URL

None

Priority

Medium
Configure