forked from jekyll/jekyll
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Fix serving files that clash with directories
Try and make things more reasable by seperating assignment from if conditions and removing early returns. I still kept assignment in the while condition, because it is a nice and simple way to assign the first non-"/" string popped off from the path array. You should be able to autosquash out this commit, since it is a fixup commit.
- Loading branch information
1 parent
811ed0f
commit 20a333f
Showing
1 changed file
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters