We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7428c49 commit fb7947fCopy full SHA for fb7947f
tools/gulp/tasks/screenshots.ts
@@ -94,7 +94,7 @@ function extractScreenshotName(fileName: string) {
94
95
function getLocalScreenshotFiles(dir: string): string[] {
96
return readdirSync(dir)
97
- .filter((fileName: string) => !statSync(path.join(SCREENSHOT_DIR, fileName)).isDirectory())
+ .filter((fileName: string) => !statSync(path.join(dir, fileName)).isDirectory())
98
.filter((fileName: string) => fileName.endsWith('.screenshot.png'));
99
}
100
0 commit comments