Skip to content

Commit b22ab37

Browse files
committed
refactor: remove unused function
Remove unused code
1 parent 1469f13 commit b22ab37

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,3 @@ export async function normalizeOptions(
5454
watch: false,
5555
};
5656
}
57-
58-
/**
59-
* Normalize a directory path string.
60-
* Currently only removes a trailing slash if present.
61-
* @param path A path string.
62-
* @returns A normalized path string.
63-
*/
64-
function normalizeDirectoryPath(path: string): string {
65-
const last = path[path.length - 1];
66-
if (last === '/' || last === '\\') {
67-
return path.slice(0, -1);
68-
}
69-
70-
return path;
71-
}

0 commit comments

Comments
 (0)