Commit 43c486b6 authored by mo khan's avatar mo khan

Fix prettier violation

parent 7429c4c8
...@@ -20,8 +20,7 @@ class V2Report { ...@@ -20,8 +20,7 @@ class V2Report {
const reducer = (memo, licenseId) => { const reducer = (memo, licenseId) => {
const license = this.licenseMap[licenseId]; const license = this.licenseMap[licenseId];
visitor(license); visitor(license);
if (memo) if (memo) return { name: `${memo.name}, ${license.name}`, url: '' };
return { name: `${memo.name}, ${license.name}`, url: '' };
return { name: license.name, url: license.url }; return { name: license.name, url: license.url };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment