Skip to content

Commit c75b2a3

Browse files
escape the period
1 parent bbba7cc commit c75b2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/provider/chromedriver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export function matchBinaries(ostype: string): RegExp|null {
260260
* @param version The actual version.
261261
*/
262262
export function formatVersion(version: string): string|null {
263-
const newRegex = /([0-9]*\.[0-9]*\.[0-9]*)(.[0-9]*)?/g;
263+
const newRegex = /([0-9]*\.[0-9]*\.[0-9]*)(\.[0-9]*)?/g;
264264
try {
265265
const exec = newRegex.exec(version);
266266
if (exec) {

0 commit comments

Comments
 (0)