Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed Feb 10, 2023
1 parent ae38da0 commit 750f313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/shared/utils/src/getPaths/isSlugRestricted.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { restrictedSlugs } from './restrictedSlugs';

export const isSlugRestricted = (slug: string): boolean => {
return restrictedSlugs.some((restrictedSlug) =>
slug.toLowerCase() === restrictedSlug,
return restrictedSlugs.some(
(restrictedSlug) => slug.toLowerCase() === restrictedSlug,
);
};

0 comments on commit 750f313

Please sign in to comment.