Skip to content

Commit ef64cd1

Browse files
committed
fixup! fix(@angular/build): validate library outputPath and avoid duplicate secondary README assets
1 parent 8b12f35 commit ef64cd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/angular/build/src/builders/library

‎packages/angular/build/src/builders/library/options.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { supportColor } from '../../utils/color';
1313
import { assertIsError } from '../../utils/error';
1414
import { normalizeAssetPatterns } from '../../utils/normalize-asset-patterns';
1515
import { normalizeCacheOptions } from '../../utils/normalize-cache';
16-
import { canonicalizePath, toPosixPath } from '../../utils/path';
16+
import { toPosixPath } from '../../utils/path';
1717
import {
1818
generateSearchDirectories,
1919
getTailwindConfig,
@@ -39,7 +39,7 @@ export async function normalizeLibraryOptions(
3939
projectName: string,
4040
options: LibraryBuilderOptions,
4141
): Promise<NormalizedLibraryOptions> {
42-
const workspaceRoot = toPosixPath(canonicalizePath(context.workspaceRoot));
42+
const workspaceRoot = toPosixPath(context.workspaceRoot);
4343
const projectMetadata = await context.getProjectMetadata(projectName);
4444
const projectRootPaths = getProjectRootPaths(workspaceRoot, projectMetadata);
4545
const projectRoot = toPosixPath(projectRootPaths.projectRoot);

0 commit comments

Comments
 (0)