aboutsummaryrefslogtreecommitdiff
path: root/src/metadata.ts
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-09-25 17:33:23 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-09-25 17:33:23 +0000
commit283c3f14760c925fe9bf51a2db6f2d567dedb4fe (patch)
treee3617b15b1493788bbf37f957be81aacac4ffdf6 /src/metadata.ts
parentdd829249122948fd66dd885dbd39a0cd9167118d (diff)
downloadao-coverage-283c3f14760c925fe9bf51a2db6f2d567dedb4fe.tar.gz
ao-coverage-283c3f14760c925fe9bf51a2db6f2d567dedb4fe.tar.bz2
ao-coverage-283c3f14760c925fe9bf51a2db6f2d567dedb4fe.zip
Add lint check to pipeline
Diffstat (limited to 'src/metadata.ts')
-rw-r--r--src/metadata.ts6
1 files changed, 3 insertions, 3 deletions
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