Skip to content

fix: basePath is undefined when a site has no config file #385

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

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

lindsaylevine
Copy link

Fixes #382

i had previously thought basePath defaulted to '' from loadConfig no matter what. thanks to some users who reported very quickly, that is not the case! these updated checks should fix the issue

@lindsaylevine lindsaylevine added the type: bug code to address defects in shipped code label Jun 4, 2021
Copy link

@antho1404 antho1404 left a comment

Choose a reason for hiding this comment

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

Tested with my project where I had the issue by using this branch as described here #382 (comment), and everything works as expected now.

@lindsaylevine lindsaylevine merged commit 7d01aba into main Jun 4, 2021
@lindsaylevine lindsaylevine deleted the ll/basePath-check branch June 4, 2021 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No pages or functions built with 3.4.0
3 participants