Skip to content

Commit 74d19ed

Browse files
committed
Return output path
1 parent ff92f1d commit 74d19ed

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

action/dist/index.js

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/src/plugins/imageDiff/plugin.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,8 @@ export const getBaselineFile = async (taskId: string, taskConfig: ImageDiffPlugi
225225
const { stdout } = await exec.getExecOutput('git', ['show', `${taskConfig.baseline_branch}:${baselinePath}`], {
226226
silent: true
227227
});
228-
// TODO: remove this
229-
core.info(`[${taskId}] stdout: ${stdout}`);
230228
fs.writeFileSync(outputFile, stdout);
229+
return outputFile;
231230
};
232231

233232
export default runImageDiffPlugin;

0 commit comments

Comments
 (0)