fix(react): fix createGlobPAtternsForDependencies path (#18546)

This commit is contained in:
Nadav Shatz 2023-09-06 21:18:21 +03:00 committed by GitHub
parent ace8f8cf97
commit ac85a16a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import { createGlobPatternsForDependencies as jsGenerateGlobs } from '@nx/js/src
*/ */
export function createGlobPatternsForDependencies( export function createGlobPatternsForDependencies(
dirPath: string, dirPath: string,
fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,ts,jsx,js,html}' fileGlobPattern: string = '/**/*!(*.stories|*.spec).{tsx,ts,jsx,js,html}'
) { ) {
try { try {
return jsGenerateGlobs(dirPath, fileGlobPattern); return jsGenerateGlobs(dirPath, fileGlobPattern);