Skip to content

Commit f9b9e4e

Browse files
committed
refactor: remove unused function
Remove unused code
1 parent fc04fe7 commit f9b9e4e

File tree

1 file changed

+0
-15
lines changed
  • packages/angular/build/src/builders/unit-test

1 file changed

+0
-15
lines changed

packages/angular/build/src/builders/unit-test/options.ts

-15
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,3 @@ export async function normalizeOptions(
5555
providersFile: options.providersFile && path.join(workspaceRoot, options.providersFile),
5656
};
5757
}
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

Comments
 (0)