Skip to content

Conversation

@willibrandon
Copy link

Fixes #135

Hello. Thought I would take a stab at this one. Please let me know if you think anything else needs be done here.

@willibrandon
Copy link
Author

willibrandon commented Oct 24, 2023

Whoops, I see a problem here in the PDF save operation. I don't think I need to confirm overwrite during the PDF save operation since the overwrite confirmation has already been handled by that point.

[return: NotNullIfNotNull("filePath")]
public abstract string? Substitute(string? filePath, bool incrementIfExists = true, int numberSkip = 0,
int autoNumberDigits = 0);
int autoNumberDigits = 0, bool incrementPlaceholderIfExists = true);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not make this logic more complicated - I think it should be possible to re-use the existing incrementIfExists parameter, we just need to double check the callers and make sure everything is going to behave as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overwrite (--force) not working with --split option

2 participants