Closed ysknkd closed 7 years ago
Excellent!
I add this future to todo list, but I’m too busy to implement it..So very thank you for you commit.
I try it on you branch, it work, but when I add negligently a blank before the config path, extension crash:
"pasteImage.path": " /Users/mazhibin/hello”

It seems that if path start with blanks, path. isAbsolute() return false. And then mkdir() fail.
So could you preprocess the config and add try-catch around mkdir, if catch a exception, show a message to users.
Best Wishes mushan
Thank you for checking. Fix to show a message when the path is invalid.
I have published extension. Thank you.
I added an image output destination setting. Please let me know what you think.
Thanks, Yosuke Nakada.