From 283c3f14760c925fe9bf51a2db6f2d567dedb4fe Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sat, 25 Sep 2021 17:33:23 +0000 Subject: Add lint check to pipeline --- src/metadata.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/metadata.ts') diff --git a/src/metadata.ts b/src/metadata.ts index 8f2ea3e..3cba605 100644 --- a/src/metadata.ts +++ b/src/metadata.ts @@ -76,7 +76,7 @@ class Metadata { getGradientStyle(): GradientStyle { return { stage1: this.config.stage1, - stage2: this.config.stage2 + stage2: this.config.stage2, }; } @@ -90,7 +90,7 @@ class Metadata { .findOne({ organization, name: repository, - ["branches." + branch]: { $exists: true, $ne: null } + ["branches." + branch]: { $exists: true, $ne: null }, }); if (result !== null && Object.keys(result.branches).includes(branch)) { @@ -133,7 +133,7 @@ class Metadata { const repo: Repository = { organization, name, - branches: { [branch]: { head } } + branches: { [branch]: { head } }, }; const result = await this.database -- cgit