adding dist
This commit is contained in:
+8
-1
@@ -38738,8 +38738,15 @@ class Directives {
|
|||||||
if (!suffix)
|
if (!suffix)
|
||||||
onError(`The ${source} tag has no suffix`);
|
onError(`The ${source} tag has no suffix`);
|
||||||
const prefix = this.tags[handle];
|
const prefix = this.tags[handle];
|
||||||
if (prefix)
|
if (prefix) {
|
||||||
|
try {
|
||||||
return prefix + decodeURIComponent(suffix);
|
return prefix + decodeURIComponent(suffix);
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
onError(String(error));
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (handle === '!')
|
if (handle === '!')
|
||||||
return source; // local tag
|
return source; // local tag
|
||||||
onError(`Could not resolve tag: ${source}`);
|
onError(`Could not resolve tag: ${source}`);
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user