You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// With disabled strict mode we will never enter here as findPathByRoot() return false
60
+
// so we don't need to check if options.strict is true
61
+
thrownewError(`[components] For the tag ${tag} was not found the template in the defined namespace's root ${customTagNamespace.root} nor in any defined custom tag roots.`);
62
+
}
63
+
}elseif(options.strict){
64
+
thrownewError(`[components] For the tag ${tag} was not found the template in the defined namespace's path ${customTagNamespace.root}.`);
// With disabled strict mode we will never enter here as findPathByRoot() return false
86
-
// so we don't need to check if options.strict is true
87
-
thrownewError(`[components] For the tag ${tag} was not found the template in the defined namespace's root ${customTagNamespace.root} nor in any defined custom tag roots.`);
88
-
}
89
-
}elseif(options.strict){
90
-
thrownewError(`[components] For the tag ${tag} was not found the template in the defined namespace's path ${customTagNamespace.root}.`);
91
-
}else{
92
-
returnfalse;
93
-
}
94
-
}
95
-
96
-
// Set root to namespace root
97
-
options.root=customTagNamespace.root;
98
-
returnfileNameFromTag;
99
-
}
100
-
101
-
/**
102
-
* Search for module file within all roots
103
-
*
104
-
* @param {String} tag [tag name]
105
-
* @param {String} fileNameFromTag [filename converted from tag name]
106
-
* @param {Object} options [posthtml options]
107
-
* @return {String|boolean} [custom tag root where the module is found]
0 commit comments