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

Fill data with electron as a target. #229

Merged
merged 11 commits into from
Mar 29, 2017
Prev Previous commit
Next Next commit
Fix lint issue
  • Loading branch information
yavorsky committed Mar 28, 2017
commit c995506b6980680d30a1acfe4189e1274ac41c78
2 changes: 1 addition & 1 deletion scripts/build-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const findClosestElectronVersion = (targetVersion) => {
const chromiumVersionsLength = chromiumToElectronVersions.length;
const maxChromium = +chromiumToElectronVersions[chromiumVersionsLength - 1];
if (targetVersion > maxChromium) return null;

const closestChrome = chromiumToElectronVersions.find(
(version) => targetVersion <= version
);
Expand Down