aboutsummaryrefslogtreecommitdiff
path: root/src/metadata.ts
diff options
context:
space:
mode:
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