Skip to content

Commit eeec921

Browse files
clydinalan-agius4
authored andcommitted
build: exclude workspace json test files from core package
(cherry picked from commit c986832)
1 parent f482652 commit eeec921

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ export default async function(
259259
if (fileName.startsWith('test/') || fileName.startsWith('test\\')) {
260260
return false;
261261
}
262+
if (pkg.name === '@angular-devkit/core' && fileName.startsWith('src/workspace/json/test')) {
263+
return false;
264+
}
262265

263266
// Remove Bazel files from NPM.
264267
if (fileName === 'BUILD' || fileName === 'BUILD.bazel') {

0 commit comments

Comments
 (0)