Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into staging
  • Loading branch information
megasanjay committed Sep 25, 2024
2 parents 3d34e31 + a052dbe commit a183253
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bot/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { MongoClient } from "mongodb";
import * as express from "express";
import { consola } from "consola";
import { renderIssues, createIssue } from "./utils/renderer/index.js";
Expand All @@ -15,8 +14,6 @@ import { checkForCitation } from "./citation/index.js";
import { checkForCodeMeta } from "./codemeta/index.js";
import { getCWLFiles, applyCWLTemplate } from "./cwl/index.js";

checkEnvVariable("MONGODB_URI");
checkEnvVariable("MONGODB_DB_NAME");
checkEnvVariable("GITHUB_APP_NAME");
checkEnvVariable("CODEFAIR_APP_DOMAIN");

Expand All @@ -28,7 +25,7 @@ const CLOSED_ISSUE_BODY = `Codefair has been disabled for this repository. If yo
* @param {import('probot').Probot} app
*/
export default async (app, { getRouter }) => {
// Connect to the MongoDB database
// Connect to the database
await intializeDatabase();

const db = dbInstance;
Expand Down

0 comments on commit a183253

Please sign in to comment.