diff --git a/eng/tools/rush-runner.js b/eng/tools/rush-runner.js index 68ed7f89cfc3..3710e620592a 100644 --- a/eng/tools/rush-runner.js +++ b/eng/tools/rush-runner.js @@ -54,7 +54,6 @@ const getPackageJsons = (searchDir) => { // This gets all the directories with package.json at the `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///perf-tests` level excluding "-track-1" perf test packages @@ -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)); }