Skip to content

Commit b36d5ac

Browse files
further code cleanup - 3
1 parent 31b363a commit b36d5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/screenshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export async function uploadScreenshots(ctx: Context): Promise<void> {
187187
const stat = fs.statSync(filePath);
188188
const relativeFilePath = path.join(relativePath, file);
189189

190-
if (if (stat.isDirectory() && ctx.options.ignorePattern.includes(relativeFilePath))) {
190+
if (stat.isDirectory() && ctx.options.ignorePattern.includes(relativeFilePath)) {
191191
ctx.log.debug(`Ignoring Directory ${relativeFilePath}`)
192192
continue; // Skip this path
193193
}

0 commit comments

Comments
 (0)