Skip to content

Commit

Permalink
revert everything in that getPath function (just dont touch it)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane committed Dec 19, 2024
1 parent 19b803c commit 1315102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/screenshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ const getPath = function (data: Data, ext, screenshotsFolder: ScreenshotsFolder,
} else {
names = _
.chain(data.titles)
.map((title: string | null | undefined) => sanitizeToString(title))
.map(sanitizeToString)
.join(RUNNABLE_SEPARATOR)
// @ts-expect-error - this shouldn't be necessary, but it breaks if you remove it
.concat([])
Expand Down

0 comments on commit 1315102

Please sign in to comment.