Skip to content

Commit

Permalink
fix: #118
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb committed Apr 6, 2024
1 parent 2946896 commit 13669d7
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 13669d7

Please sign in to comment.