We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0973769 + 9d078f8 commit 46681d0Copy full SHA for 46681d0
1 file changed
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