Yuki Takei před 3 roky
rodič
revize
a934faf0f6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/core/src/utils/template-checker.ts

+ 1 - 1
packages/core/src/utils/template-checker.ts

@@ -3,7 +3,7 @@
  */
 
 export function checkTemplatePath(path: string): boolean {
-  if (path.match(/.*\/_{1,2}template$/)) {
+  if (path.match(/^.*\/_{1,2}template$/)) {
     return true;
   }