]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: improve compileTemplate warn message (#11085)
authorNo Two <1244476905@qq.com>
Fri, 7 Jun 2024 09:30:35 +0000 (17:30 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Jun 2024 09:30:35 +0000 (17:30 +0800)
packages/compiler-sfc/src/compileTemplate.ts

index 5ba8a5e481298161b086f9a392b016a421fe4371..322b1570e1aefd5e1a237c6276dedddfd00999e5 100644 (file)
@@ -191,11 +191,11 @@ function doCompileTemplate({
   if (ssr && !ssrCssVars) {
     warnOnce(
       `compileTemplate is called with \`ssr: true\` but no ` +
-        `corresponding \`cssVars\` option.\`.`,
+        `corresponding \`cssVars\` option.`,
     )
   }
   if (!id) {
-    warnOnce(`compileTemplate now requires the \`id\` option.\`.`)
+    warnOnce(`compileTemplate now requires the \`id\` option.`)
     id = ''
   }