Browse Source

Refreshed the generated assets

main
Cédric Belin 2 weeks ago
parent
commit
1b90fce322
2 changed files with 2 additions and 7 deletions
  1. +1
    -1
      bin/which.js
  2. +1
    -6
      lib/php/which/Finder.php

+ 1
- 1
bin/which.js
File diff suppressed because it is too large
View File


+ 1
- 6
lib/php/which/Finder.php View File

@@ -120,12 +120,7 @@ class Finder {
* @return bool
*/
public function checkFileExtension ($file) {
$extension = mb_strtolower(Path::extension($file));
if (mb_strlen($extension) > 0) {
return $this->extensions->indexOf("." . ($extension??'null')) !== -1;
} else {
return false;
}
return $this->extensions->indexOf("." . (mb_strtolower(Path::extension($file))??'null')) !== -1;
}

/**


Loading…
Cancel
Save