File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ install:
1919 - npm ci
2020 - gulp build
2121script :
22+ - npm run lint
2223 - npm test
2324after_success : npm run coverage
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { DynamicModule } from '@nestjs/common';
22import { SHARED_MODULE_METADATA } from '@nestjs/common/constants' ;
33import { Type } from '@nestjs/common/interfaces/type.interface' ;
44import * as hash from 'object-hash' ;
5- import safeStringify from 'fast-safe-stringify' ;
5+ import stringify from 'fast-safe-stringify' ;
66
77export class ModuleTokenFactory {
88 public create (
@@ -25,7 +25,7 @@ export class ModuleTokenFactory {
2525 ) : string {
2626 // Uses safeStringify instead of JSON.stringify
2727 // to support circular dynamic modules
28- return dynamicModuleMetadata ? safeStringify ( dynamicModuleMetadata ) : '' ;
28+ return dynamicModuleMetadata ? stringify ( dynamicModuleMetadata ) : '' ;
2929 }
3030
3131 public getModuleName ( metatype : Type < any > ) : string {
You can’t perform that action at this time.
0 commit comments