Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(yarn): Relax strictness in
processAdditionalPackageInfo()
A `package.json` file does not contain a `dist` attribute while the output of `yarn npm view` does. Otherwise, the two formats are identical regarding the attributes considered by ORT. Make the code tolerate absent `dist` attributes to prepare for re-using it to extract `AdditionalData` from a `package.json`. Signed-off-by: Frank Viernau <frank_viernau@epam.com>
- Loading branch information