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 0973769 commit 9d078f8Copy full SHA for 9d078f8
src/main.ts
@@ -11,7 +11,7 @@ export async function main(): Promise<void> {
11
12
const input = await cli.getInput(configuration.inputSource, argv.extraArguments, configuration.ignore);
13
14
- if (!input) {
+ if (!input && !diff2htmlOptions.renderNothingWhenEmpty) {
15
process.exitCode = 3;
16
log.error('The input is empty. Try again.');
17
yargs.help();
0 commit comments