improve
This commit is contained in:
@@ -38,7 +38,7 @@ function isRecognizedExtension(ext) {
|
||||
|
||||
function find_in_path(filename, exts = []) {
|
||||
if (typeof filename != 'string') return null
|
||||
|
||||
|
||||
if (filename.includes('.')) {
|
||||
var candidate = filename // possibly need "/" ?
|
||||
if (io.exists(candidate) && !io.is_directory(candidate)) return candidate
|
||||
|
||||
Reference in New Issue
Block a user