Skip to content

Commit

Permalink
removed unused logs
Browse files Browse the repository at this point in the history
  • Loading branch information
am5815 committed Sep 4, 2024
1 parent a6c9cc7 commit 2b5a8bb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions scripts/src/commands/load/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ export default class LoadDatabase extends Command {
return serviceMap.get(id);
});



// Update the service
await this.client
?.db()
Expand Down
2 changes: 1 addition & 1 deletion src/job/job.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Injectable, Logger } from '@nestjs/common';
import { Injectable } from '@nestjs/common';

Check warning on line 1 in src/job/job.service.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🧾 Statement is not covered

Warning! Not covered statement
import { InjectModel } from '@nestjs/mongoose';
import { Job, JobDocument, JobState } from './job.model';
import { Model } from 'mongoose';
Expand Down
1 change: 0 additions & 1 deletion src/reset/reset.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { CategoryInput } from './dtos/category.dto';
import { ServiceInput } from './dtos/service.dto';
import { BundleInput } from './dtos/bundle.dto';
import { ResetService } from './reset.service';
import { Logger } from '@nestjs/common';

@Resolver()
export class ResetResolver {
Expand Down
4 changes: 1 addition & 3 deletions src/workflow/workflow.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Injectable, Logger } from '@nestjs/common';
import { Injectable } from '@nestjs/common';

Check warning on line 1 in src/workflow/workflow.service.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🧾 Statement is not covered

Warning! Not covered statement
import { InjectModel } from '@nestjs/mongoose';
import mongoose, { Model } from 'mongoose';
import { Workflow, WorkflowDocument, WorkflowState } from './models/workflow.model';
Expand All @@ -16,8 +16,6 @@ export class WorkflowService {

async create(createWorkflowInput: AddWorkflowInputFull): Promise<Workflow> {

Check failure on line 18 in src/workflow/workflow.service.ts

View workflow job for this annotation

GitHub Actions / Checking Linting

Delete `⏎`
Logger.log(`Created workflow, ${createWorkflowInput}`);

// Make the nodes
const nodes = await Promise.all(createWorkflowInput.nodes.map((node) => this.nodeService.create(node)));

Expand Down

0 comments on commit 2b5a8bb

Please sign in to comment.