Closed sunxyw closed 4 years ago
I have moved the "required" check out of the the if (conf.get('editor').validateFilename)
block.
And I have deleted some unrelated files, includes yarn-error.log
, and the binary file.
Please feel free to tell me if it still has some problems or any improvement.
@sunxyw Thanks for the contributions!
Make filename validation more flexible for special use cases.
I have added a switch option "validateFilename" under the "editor" in .leptonrc.
e.g. In your
<homeDir>/.leptonrc
Filename validation will be disable when "validateFilename" switch to
false
.Tested on Windows10, but not tested on other platforms.