Skip to content

Commit 640e9a9

Browse files
Merge pull request #2486 from limingu/nginx8
Add NGINX.NGINXPLUS in the file path Regex
2 parents 6e91938 + e76266d commit 640e9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const specsRepoPath = path.join(os.tmpdir(), 'schm_azspc');
99
export const specsRepoUri = 'https://github.com/azure/azure-rest-api-specs';
1010
export const specsRepoCommitHash = 'origin/main';
1111
// eslint-disable-next-line no-useless-escape
12-
export const pathRegex = /(microsoft\.\w+)[\\\/]\S*[\\\/](\d{4}-\d{2}-\d{2}(|-preview))[\\\/]/i;
12+
export const pathRegex = /(microsoft\.\w+|NGINX.NGINXPLUS)[\\\/]\S*[\\\/](\d{4}-\d{2}-\d{2}(|-preview))[\\\/]/i;
1313

1414
export const autoRestVerboseOutput = false;
1515

0 commit comments

Comments
 (0)