We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cadbbaa commit 3c591e9Copy full SHA for 3c591e9
src/execute-command.ts
@@ -72,11 +72,11 @@ export async function executeCommand(commandString: string) {
72
};
73
}
74
75
+ const diff = result.value;
76
const file = path.join(
77
reportsDirectory,
- `${repository.directoryName}-success.diff`,
78
+ `${diff ? "diff" : "empty"}-${repository.directoryName}-success.diff`,
79
);
- const diff = result.value;
80
await writeFile(file, diff);
81
return {
82
repository,
0 commit comments