Skip to content

Commit f4940cc

Browse files
committed
chore: Remove unused imports in AppService
1 parent 837770f commit f4940cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/app.service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ import { Injectable } from '@nestjs/common';
22
import { ModuleRef } from '@nestjs/core';
33
import { AbstractService } from './_common/abstracts/abstract.service';
44
import { PackageJson } from 'types-package-json';
5-
import { readFileSync } from 'fs';
6-
import { pick } from 'radash';
5+
// import { readFileSync } from 'fs';
6+
// import { pick } from 'radash';
77

88
@Injectable()
99
export class AppService extends AbstractService {
1010
protected package: Partial<PackageJson>;
1111

1212
public constructor(protected moduleRef: ModuleRef) {
1313
super({ moduleRef });
14-
this.package = JSON.parse(readFileSync('package.json', 'utf-8'));
14+
// this.package = JSON.parse(readFileSync('package.json', 'utf-8'));
1515
}
1616

17-
public getInfo(): Partial<PackageJson> {
18-
return pick(this.package, ['name', 'version']);
19-
}
17+
// public getInfo(): Partial<PackageJson> {
18+
// return pick(this.package, ['name', 'version']);
19+
// }
2020
}

0 commit comments

Comments
 (0)