Skip to content

Commit 96d6982

Browse files
author
Vikas Agarwal
committed
lint fix
1 parent cf04b48 commit 96d6982

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/admin/project-index-create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = [
5757
if (!project) {
5858
return Promise.resolve(null);
5959
}
60-
logger.debug('phases', project.phases)
60+
logger.debug('phases', project.phases);
6161
if (project.phases) {
6262
// removs the delete audit fields from the index data
6363
project.phases = project.phases.map(phase => _.omit(phase, ['deletedAt', 'deletedBy']));

src/routes/projectUpgrade/create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function migrateFromV2ToV3(req, project, defaultProductTemplateId, phaseNa
106106
: null;
107107
let phaseStatus = project.status;
108108
// maps the in_review status to the draft status for the phase
109-
phaseStatus = phaseStatus === PROJECT_STATUS.IN_REVIEW ? PROJECT_STATUS.DRAFT : phaseStatus;
109+
phaseStatus = phaseStatus === PROJECT_STATUS.IN_REVIEW ? PROJECT_STATUS.DRAFT : phaseStatus;
110110
const projectPhase = await models.ProjectPhase.create({
111111
projectId: project.id,
112112
// TODO: there should be a clear requirement about how to set the phase's name without relying on its

0 commit comments

Comments
 (0)