Skip to content

Commit

Permalink
Merge pull request #76 from Tinkoff/fs-import-fix
Browse files Browse the repository at this point in the history
fix: `NgMorphTree` use deep import for ng16 support
  • Loading branch information
IKatsuba authored Jun 26, 2023
2 parents 0f85557 + 4d459bb commit 449fc9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/ng-morph/project/classes/ng-morph-tree.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('NgMorphTree', () => {
it('should read from fs', () => {
expect(getSourceFile('/ng-morph-tree.ts')?.getFullText())
.toStrictEqual(`import { HostSink, HostTree } from '@angular-devkit/schematics';
import { ScopedHost } from '@angular-devkit/core/src/virtual-fs/host';
import { ScopedHost } from '@angular-devkit/core/src/virtual-fs/host/scoped';
import { NodeJsSyncHost } from '@angular-devkit/core/node';
import { normalize } from '@angular-devkit/core';
Expand Down
2 changes: 1 addition & 1 deletion libs/ng-morph/project/classes/ng-morph-tree.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HostSink, HostTree } from '@angular-devkit/schematics';
import { ScopedHost } from '@angular-devkit/core/src/virtual-fs/host';
import { ScopedHost } from '@angular-devkit/core/src/virtual-fs/host/scoped';
import { NodeJsSyncHost } from '@angular-devkit/core/node';
import { normalize } from '@angular-devkit/core';

Expand Down

0 comments on commit 449fc9e

Please sign in to comment.