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