Commit f594d76c authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: missing tags array

parent 64bc6134
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ export class Project {
    this.name = name;
    this.path = path;
    this.tag = tag;
    this.tags = tags;
    this.tags = tags || [tag];
    this.web_url = web_url;
    this.avatar = avatar;
  }
@@ -237,7 +237,7 @@ export class Variant {
  }

  get templateFile(): string {
    return this.template_path.split('/').pop()
    return this.template_path.split(/[\/\.]/)[1]
  }

  getVariable(name: string): Variable | undefined {
@@ -276,7 +276,7 @@ export class Template {
  }

  get templateFile(): string {
    return this.template_path.split('/').pop()
    return this.template_path.split(/[\/\.]/)[1]
  }

  get var_prefix(): string {