Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions eng/tools/rush-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const getPackageJsons = (searchDir) => {
// This gets all the directories with package.json at the `sdk/<service>/<service-sdk>` level excluding "arm-" packages
const sdkDirectories = fs
.readdirSync(searchDir)
.filter((f) => !f.startsWith("arm-")) // exclude libraries starting with "arm-"
.map((f) => path.join(searchDir, f, "package.json")); // turn potential directory names into package.json paths

// This gets all the directories with package.json at the `sdk/<service>/<service-sdk>/perf-tests` level excluding "-track-1" perf test packages
Expand All @@ -78,7 +77,7 @@ const getServicePackages = (baseDir, serviceDirs) => {
const packageJsons = getPackageJsons(searchDir);
for (const filePath of packageJsons) {
const contents = JSON.parse(fs.readFileSync(filePath, "utf8"));
if (contents["sdk-type"] === "client") {
if (contents["sdk-type"] === "client" || contents["sdk-type"] === "mgmt") {
packageNames.push(contents.name);
packageDirs.push(path.dirname(filePath));
}
Expand Down