Skip to content

Conversation

@jonbannister
Copy link
Collaborator

Fix bug where folders with whitespace were unable to have their results listed. Fixes #173.

Create unit tests for index.js using Jest.
Small refactor of index.js to use JS standards & apply Prettier.

}
return currentFolder
}
return decodeURI(currentFolder);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the main culprit - the current folder had %20 etc. and so the results were incorrectly being filtered out.

@jonbannister jonbannister force-pushed the add-testing-fix-spaces branch from 90a5a33 to 848a594 Compare April 29, 2024 10:25
…ts listed. Fixes #173.

Create unit tests for index.js using Jest.
Small refactor of index.js to use JS standards & apply Prettier.
@jonbannister jonbannister force-pushed the add-testing-fix-spaces branch from 848a594 to 76f7b25 Compare April 29, 2024 12:40
@jonbannister jonbannister force-pushed the add-testing-fix-spaces branch from 68f0c0e to 82bbae8 Compare April 29, 2024 14:00
@jonbannister jonbannister force-pushed the add-testing-fix-spaces branch 6 times, most recently from d71ac16 to a18dbdd Compare April 29, 2024 16:47
@jonbannister jonbannister force-pushed the add-testing-fix-spaces branch from a18dbdd to bb626b5 Compare April 29, 2024 17:11
@jonbannister jonbannister merged commit fe423c9 into master Apr 30, 2024
@jonbannister jonbannister deleted the add-testing-fix-spaces branch April 30, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folders view breaks with spaces

3 participants