-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix console --force overwrite with --split option #212
base: master
Are you sure you want to change the base?
Fix console --force overwrite with --split option #212
Conversation
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. |
-Used to determine whether to increment the placeholder number.
/// <returns>The file path with substitutions.</returns> | ||
[return: NotNullIfNotNull("filePath")] | ||
public abstract string? Substitute(string? filePath, bool incrementIfExists = true, int numberSkip = 0, | ||
int autoNumberDigits = 0); | ||
int autoNumberDigits = 0, bool incrementPlaceholderIfExists = true); |
There was a problem hiding this comment.
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.
e1ca63b
to
46577c6
Compare
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.