Skip to content

Commit

Permalink
Skip track1 perf projects from gulp pack (#15436)
Browse files Browse the repository at this point in the history
* Skip track1 perf projects from gulp pack
  • Loading branch information
praveenkuttappan authored Jun 8, 2021
1 parent 0c73d8f commit 0868703
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ function isPackageFolderPath(folderPath: string, packagesToIgnore: string[]): bo
const packageJsonFilePath: string = joinPath(folderPath, "package.json");
if (fileExistsSync(packageJsonFilePath)) {
const packageJson: PackageJson = readPackageJsonFileSync(packageJsonFilePath);
// Skip all perf framework projects from gulp pack
if (packageJson.name.startsWith("@azure-tests/")) {
return false;
}
result = !contains(packagesToIgnore, packageJson.name!);
}
return result;
Expand Down

0 comments on commit 0868703

Please sign in to comment.