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

This commit is contained in:
Ika authored and Simon Lydell committed 2017-09-10 17:37:07 +02:00
1 parent 955a2c1472
commit 8b02f702d5
1 file changed
+2 -2
+2 -2
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"
);