1
0
mirror of https://github.com/lancedikson/bowser synced 2025-06-13 13:03:52 +00:00

fix: linting issue

This commit is contained in:
Best Vaisayawan 2020-10-19 10:30:03 +07:00
parent ff6f7aa3c0
commit 4682bd9970

View File

@ -597,7 +597,7 @@ const browsersList = [
const browser = {
name: 'Chrome',
};
const version = Utils.getFirstMatch(/(?:chrome|crios|crmo)[\s\/]+(\d+(\.?_?\d+)+)/i, ua);
const version = Utils.getFirstMatch(/(?:chrome|crios|crmo)[\s/]+(\d+(\.?_?\d+)+)/i, ua);
if (version) {
browser.version = version;