Fix 'enable' tag attribute

This commit is contained in:
Jakub Bacic 2021-03-30 12:32:07 +02:00
parent 72654174f7
commit 3dc3f5499b
3 changed files with 79 additions and 1 deletions

3
dist/index.js generated vendored
View file

@ -361,6 +361,9 @@ class Meta {
latest: undefined
};
for (const tag of this.tags) {
if (tag.attrs['enable'] == 'false') {
continue;
}
switch (tag.type) {
case tcl.Type.Schedule: {
version = this.procSchedule(version, tag);