diff --git a/src/index.ts b/src/index.ts index 3e2df448..c942dd35 100755 --- a/src/index.ts +++ b/src/index.ts @@ -104,7 +104,7 @@ async function installWrangler() { // `3.48.0` const versionMatch = stdout.match(/wrangler (\d+\.\d+\.\d+)/) ?? - stdout.match(/^(\d+\.\d+\.\d+)/); + stdout.match(/^(\d+\.\d+\.\d+)/m); if (versionMatch) { installedVersion = versionMatch[1]; }