Skip to content

Commit

Permalink
Merge pull request #13 from TinkoffCreditSystems/missing-multimatch
Browse files Browse the repository at this point in the history
fix: add missing multimatch
  • Loading branch information
IKatsuba authored Jun 11, 2021
2 parents 586ecc0 + a204e64 commit 282bfbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions libs/ng-morph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"dependencies": {
"minimatch": "3.0.4",
"multimatch": "5.0.0",
"ts-morph": "10.0.2",
"jsonc-parser": "3.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions libs/ng-morph/project/classes/file-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { UpdateRecorder } from './update-recorder';
import { FileSystemHost } from 'ts-morph';
import { basename, join } from 'path';
import * as miltimatch from 'multimatch';
import * as multimatch from 'multimatch';
import { DevkitFileSystem } from './devkit-file-system';

/**
Expand Down Expand Up @@ -145,7 +145,7 @@ export class NgCliFileSystem implements FileSystemHost {
}

globSync(patterns: ReadonlyArray<string>): string[] {
return miltimatch(this.getAllFilePaths(), patterns as string[]);
return multimatch(this.getAllFilePaths(), patterns as string[]);
}

isCaseSensitive(): boolean {
Expand Down

0 comments on commit 282bfbc

Please sign in to comment.