Skip to content

Commit 8a55ecc

Browse files
refactor(ng-lib): change cleanDups to private (#324)
change cleanDups to private as it's an implementation detail
1 parent 25b33fa commit 8a55ecc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/scullyio/ng-lib/src/lib/route-service/scully-routes.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class ScullyRoutesService {
6868
);
6969
}
7070

71-
cleanDups(routes: ScullyRoute[]) {
71+
private cleanDups(routes: ScullyRoute[]) {
7272
const m = new Map<string, ScullyRoute>();
7373
routes.forEach(r => m.set(r.sourceFile || r.route, r));
7474
return [...m.values()];

0 commit comments

Comments
 (0)