We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a30f0fe commit 09724b5Copy full SHA for 09724b5
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