From 770ffcce496ff97cf9f0281738d9ddd55502e157 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:39:21 -0400 Subject: [PATCH] DOP-4414 cleaning up --- src/commands/src/scripts/local-build/utils/get-env-vars.ts | 1 - src/repositories/projectsRepository.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/commands/src/scripts/local-build/utils/get-env-vars.ts b/src/commands/src/scripts/local-build/utils/get-env-vars.ts index e6ff10648..dcc3aef46 100644 --- a/src/commands/src/scripts/local-build/utils/get-env-vars.ts +++ b/src/commands/src/scripts/local-build/utils/get-env-vars.ts @@ -37,7 +37,6 @@ const workerParamStrings = [ '/flag/monorepo_path', '/atlas/collections/repo', '/atlas/collections/docsets', - // '/atlas/collections/projects', '/atlas/collections/job/queue', '/atlas/collections/user/entitlements', ] as const; diff --git a/src/repositories/projectsRepository.ts b/src/repositories/projectsRepository.ts index 475a9981d..094aa4193 100644 --- a/src/repositories/projectsRepository.ts +++ b/src/repositories/projectsRepository.ts @@ -5,8 +5,6 @@ import { ILogger } from '../services/logger'; //Project information from docs_metadata.projects for parser builds. -// const projectsCollectionName = config.get('projectsCollection') || ''; - export class ProjectsRepository extends BaseRepository { constructor(db: mongodb.Db, config: IConfig, logger: ILogger) { super(config, logger, 'ProjectsRepository', db.collection(process.env.PROJECTS_COL_NAME || ''));