Closed bolivir closed 3 years ago
Does this fix any existing issue? if so, it should be referenced.
@sindresorhus added the issue(s) i could find in the issue tracker.
Did you test this change manually to ensure it actually works and that it fixes the problem?
Did you test this change manually to ensure it actually works and that it fixes the problem?
The original commit(with negated condition) i tested manually and ensured it used the provided filename. The last change of the if invert i did not test.
The current implementation ignores the filename when using the option saveAs. This PR will fix the above issue and will set the saveDialogOptions default path to the file path given.
Referenced issues: Fixes #59 Fixes #79