improvement: address feedback

This commit is contained in:
Scott Wilson
2025-07-16 12:52:05 -07:00
parent 621bfe3e60
commit 3fe41f81fe
3 changed files with 4 additions and 6 deletions
@@ -7,8 +7,6 @@ const matchesPath = (folderPath: string, pattern: string) => {
const normalizedPath = folderPath === "/" ? "/" : folderPath.replace(/\/$/, "");
const normalizedPattern = pattern === "/" ? "/" : pattern.replace(/\/$/, "");
console.log(normalizedPath, normalizedPattern);
if (normalizedPath === normalizedPattern) {
return true;
}