Allow global prefix/suffix on latest

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-07-05 20:37:02 +02:00
parent aa7478bca1
commit 375e313280
7 changed files with 245 additions and 59 deletions

View File

@@ -100,7 +100,7 @@ export function Parse(s: string): Tag {
switch (key) {
case 'type': {
if (!Object.values(Type).includes(value)) {
throw new Error(`Unknown type attribute: ${value}`);
throw new Error(`Unknown tag type attribute: ${value}`);
}
tag.type = value;
break;