Skip to content

Commit bbba7cc

Browse files
fix
1 parent ca41572 commit bbba7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/provider/chromedriver.ts

Lines changed: 1 addition & 1 deletion
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)