We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc04fe7 commit f9b9e4eCopy full SHA for f9b9e4e
packages/angular/build/src/builders/unit-test/options.ts
@@ -55,18 +55,3 @@ export async function normalizeOptions(
55
providersFile: options.providersFile && path.join(workspaceRoot, options.providersFile),
56
};
57
}
58
-
59
-/**
60
- * Normalize a directory path string.
61
- * Currently only removes a trailing slash if present.
62
- * @param path A path string.
63
- * @returns A normalized path string.
64
- */
65
-function normalizeDirectoryPath(path: string): string {
66
- const last = path[path.length - 1];
67
- if (last === '/' || last === '\\') {
68
- return path.slice(0, -1);
69
- }
70
71
- return path;
72
-}
0 commit comments