Skip to content

Commit 747a511

Browse files
committed
Pass project's bin to collect command for previous report
1 parent 1f1076c commit 747a511

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async function runOnProject(
152152
return null
153153
}
154154

155-
const { jsonFilePath: prevReportPath } = await collect(inputs)
155+
const { jsonFilePath: prevReportPath } = await collect(ctx)
156156
prevReport = await fs.readFile(prevReportPath, 'utf8')
157157
core.debug(`Collected previous report at ${prevReportPath}`)
158158

0 commit comments

Comments
 (0)