We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbba7cc commit c75b2a3Copy full SHA for c75b2a3
lib/provider/chromedriver.ts
@@ -260,7 +260,7 @@ export function matchBinaries(ostype: string): RegExp|null {
260
* @param version The actual version.
261
*/
262
export function formatVersion(version: string): string|null {
263
- const newRegex = /([0-9]*\.[0-9]*\.[0-9]*)(.[0-9]*)?/g;
+ const newRegex = /([0-9]*\.[0-9]*\.[0-9]*)(\.[0-9]*)?/g;
264
try {
265
const exec = newRegex.exec(version);
266
if (exec) {
0 commit comments