Skip to content

Commit

Permalink
Merge 13669d7 into 2946896
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb authored Apr 6, 2024
2 parents 2946896 + 13669d7 commit 97a8771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
image-directory-path: "./images"
disable-branch: true
report-file-path: './'
3 changes: 2 additions & 1 deletion src/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export const compare = async (config: Config): Promise<CompareOutput> =>
});

if (config.reportFilePath) {
await cpy(path.join(workspace(), './report.html'), config.reportFilePath);
log.info(`reportFilePath ${config.reportFilePath} detected`);
await cpy(workspace() + '/**/*', config.reportFilePath);
}

emitter.on('complete', result => {
Expand Down

0 comments on commit 97a8771

Please sign in to comment.