Fix yarn.lock whitespace parsing bug [gemnasium only]
What does this MR do?
This MR fixes a bug that causes gemnasium
to fail with a cannot parse dependency
error when parsing yarn.lock
files containing only whitespace on a line.
What are the relevant issue numbers?
A yarn.lock with incorrectly formatted whitespa... (gitlab-org/gitlab#290239 - closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen