Skip to content
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

Report error if project name is empty after normalization #10334

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Mar 1, 2023

What I did
Check project name is not empty after options have been applied.
This can happen as name is computed from parent directory

Related issue
see #10313

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof requested review from a team, nicksieger, StefanScherer, ulyssessouza, glours, milas and laurazard and removed request for a team March 1, 2023 13:09
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

Remove unnecessary Zs before merging

cmd/compose/compose.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a99a0b5) 74.18% compared to head (e7deedc) 74.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2   #10334   +/-   ##
=======================================
  Coverage   74.18%   74.18%           
=======================================
  Files           2        2           
  Lines         275      275           
=======================================
  Hits          204      204           
  Misses         60       60           
  Partials       11       11           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndeloof ndeloof merged commit ae26426 into docker:v2 Mar 1, 2023
@ndeloof ndeloof deleted the empty_name branch March 1, 2023 15:37
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