Skip to content

Commit

Permalink
build: fix diffFile handling if inexistent
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed May 18, 2024
1 parent 1333c15 commit 2ceafeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/visual-regression-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ function prepareScreenshots(): PluginOption {
browserName,
name: d.name,
failedFile: failedRelativeFileName,
diffFile: diffRelativeFileName,
baselineFile: baselineRelativeFileName,
diffFile: !isNew ? diffRelativeFileName : undefined,
baselineFile: !isNew ? baselineRelativeFileName : undefined,
isNew,
};
});
Expand Down

0 comments on commit 2ceafeb

Please sign in to comment.