0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

Fix CLI build command to use correct Mastra directory structure (#3435)

## Description

<!-- Provide a brief description of the changes in this PR -->

This change set will fix a bug when specifying where the masra entry
directory is located.

Before if you specified the mastra `src/mastra` would be appended to it,
this PR fixes the issue.

before 1:
<img width="1004" alt="image"
src="https://github.com/user-attachments/assets/1ff7f7b6-32d4-4d62-a649-245e3a5f5fab"
/>

fixes:
<img width="876" alt="image"
src="https://github.com/user-attachments/assets/8584db66-d4ba-4a60-997f-cb685b61d1b1"
/>



## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] I have generated a changeset for this PR

---------

Co-authored-by: Ward Peeters <ward@coding-tech.com>
This commit is contained in:
YujohnNattrass 2025-04-04 05:54:25 -07:00 • committed by GitHub
commit b311bb7057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions