fix(build): update ISSUE_TEMPLATE version regex to work as intended (#2785)

master
Ika 2017-09-10 23:37:07 +08:00 committed by Simon Lydell
parent 955a2c1472
commit 8b02f702d5
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ shell.sed(
shell.echo("Update ISSUE_TEMPLATE.md");
shell.sed(
"-i",
/(?!Prettier Version.*?)\d+\.\d+\.\d+/,
pkg.version,
/(Prettier Version.+?)\d+\.\d+\.\d+/,
`$1${pkg.version}`,
".github/ISSUE_TEMPLATE.md"
);