Skip to content

Commit 34df294

Browse files
Alex-SokolovNataliaTepluhina
authored andcommitted
Update pre-deploy.js (vuejs#2419)
Fix link update on pre-deploy
1 parent 148756e commit 34df294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-deploy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Promise.all([
3939
installation
4040
.replace(/vue_version: .*/, 'vue_version: ' + version)
4141
.replace(/gz_size:.*/g, `gz_size: "${prodSize}"`)
42-
.replace(/\/vue@[\d\.]+\//g, `/vue@${version}/`)
42+
.replace(/\/vue@[\d\.]+/g, `/vue@${version}`)
4343
)
4444
console.log(`\nSuccessfully updated Vue version and gzip file size.\n`)
4545
}).catch(err => {

0 commit comments

Comments
 (0)