Skip to content

chore: return null from getRootDir when hubspot.config.yml is not found#51

Merged
davidding merged 1 commit into
mainfrom
fix/getRootDir-null-on-missing-config
Jun 29, 2026
Merged

chore: return null from getRootDir when hubspot.config.yml is not found#51
davidding merged 1 commit into
mainfrom
fix/getRootDir-null-on-missing-config

Conversation

@davidding

@davidding davidding commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

getRootDir throws when it reached the filesystem root without finding hubspot.config.yml.

  • getRootDir now returns null instead of throwing
  • Added a null guard in getDevBaseUrl before using the result

Prevents a throw on CI machines where hubspot.config.yml does not exist,
which caused Cypress to mark the config as invalid.
@davidding davidding changed the title fix: return null from getRootDir when hubspot.config.yml is not found chore: return null from getRootDir when hubspot.config.yml is not found Jun 29, 2026
@davidding davidding merged commit 8ea3295 into main Jun 29, 2026
1 check passed
@davidding davidding deleted the fix/getRootDir-null-on-missing-config branch June 29, 2026 13:11
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