Skip to content

Commit 3c591e9

Browse files
committed
Update report path
1 parent cadbbaa commit 3c591e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/execute-command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ export async function executeCommand(commandString: string) {
7272
};
7373
}
7474

75+
const diff = result.value;
7576
const file = path.join(
7677
reportsDirectory,
77-
`${repository.directoryName}-success.diff`,
78+
`${diff ? "diff" : "empty"}-${repository.directoryName}-success.diff`,
7879
);
79-
const diff = result.value;
8080
await writeFile(file, diff);
8181
return {
8282
repository,

0 commit comments

Comments
 (0)