Skip to content

Commit

Permalink
fix: "simwrapper" and ".simwrapper" config folders should allow any c…
Browse files Browse the repository at this point in the history
…apitalization

fixes: #341
  • Loading branch information
billyc committed May 13, 2024
1 parent 6e4e6ab commit d7a0791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/HTTPFileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ class HTTPFileSystem {

try {
const { dirs } = await this.getDirectory(currentPath)
for (const folder of YAML_FOLDERS) {
if (dirs.includes(folder)) {
configFolders.push(`${currentPath}/${folder}`.replaceAll('//', '/'))
for (const dir of dirs) {
if (YAML_FOLDERS.includes(dir.toLocaleLowerCase())) {
configFolders.push(`${currentPath}/${dir}`.replaceAll('//', '/'))
}
}
} catch (e) {}
Expand Down

0 comments on commit d7a0791

Please sign in to comment.