Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fserver): only check if the last directory is Resources #205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix(fserver): only check if the last directory is Resources #205

wants to merge 2 commits into from

Conversation

ewanharris
Copy link
Contributor

Given that the server could be started by the liveview server start command it's best to not assume
we were given a valid path (although that probably is a safe assumption) and to just improve the
existing check to only check if the last segment of the path is Resources rather than if it simply
exists in the path

Fixes TIMOB-28226

Given that the server could be started by the liveview server start command it's best to not assume
we were given a valid path (although that probably is a safe assumption) and to just improve the
existing check to only check if the last segment of the path is Resources rather than if it simply
exists in the path

Fixes TIMOB-28226
@build
Copy link

build commented Nov 4, 2020

Warnings
⚠️

lib/fserver.js#L196 - lib/fserver.js line 196 – 'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead. (node/no-deprecated-api)

⚠️

lib/fserver.js#L247 - lib/fserver.js line 247 – Missing JSDoc @returns for function. (valid-jsdoc)

Messages
📖

✅ All tests are passing
Nice one! All 4 tests are passing.

📖 🎉 - congrats on your new release

Generated by 🚫 dangerJS against 56446f9

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.

3 participants