-
Notifications
You must be signed in to change notification settings - Fork 92
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: print metadata filtered by cwd #167
Conversation
Codecov Report
@@ Coverage Diff @@
## main #167 +/- ##
==========================================
- Coverage 60.83% 60.74% -0.09%
==========================================
Files 28 28
Lines 4698 4703 +5
==========================================
- Hits 2858 2857 -1
- Misses 1677 1683 +6
Partials 163 163
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding tests 💯
@@ -722,6 +722,12 @@ func (c *cli) printMetadata() { | |||
Msg("listing stacks") | |||
} | |||
|
|||
stackEntries = c.filterStacksByWorkingDir(stackEntries) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noice :-)
stack "/somedir/stack4": | ||
terramate.name="stack4" | ||
terramate.path="/somedir/stack4" | ||
terramate.description="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add later, but here we are also missing the scenario where wd is a dir with no stacks inside (like we tested for globals listing).
No description provided.