File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ import { Injectable } from '@nestjs/common';
22import { ModuleRef } from '@nestjs/core' ;
33import { AbstractService } from './_common/abstracts/abstract.service' ;
44import { 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 ( )
99export 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}
You can’t perform that action at this time.
0 commit comments