Skip to content

Commit

Permalink
Remove added newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed Jun 8, 2023
1 parent da6f75c commit 593c0ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin-src/lib/getDependentStoryFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export async function getDependentStoryFiles(
const CSF_REGEX = /\s+sync\s+/g;
const URL_PARAM_REGEX = /(\?.*)/g;
const newPath = normalizePath(posixPath, rootPath, baseDir);

// Trim query params such as `?ngResource` which are sometimes present
return URL_PARAM_REGEX.test(newPath) && !CSF_REGEX.test(newPath)
? newPath.replace(URL_PARAM_REGEX, '')
Expand Down

0 comments on commit 593c0ed

Please sign in to comment.