fix: Misleading message when running make and having an invalid path brick globally
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
When having an invalid global installed brick, like for example a brick named `foo` that was installed from path, and such folder/path was deleted, when running `mason make x` we will get an error saying `Could not find brick at path/foo`, which can be confused since we are running `mason make x`.
**Steps To Reproduce**
1. Install any brick globally from path
2. Remove that path from the filesytem
3. Try running `mason make any_brick`
4. See error
**Expected Behavior**
Unsure what would be the best here, but I feel that it should either not give any error, and an error should occur only when trying to use the invalid brick, or maybe just silently removing the invalid brick from the mason lock?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.