Skip to content

Report error if project name is empty after normalization#10334

Merged
ndeloof merged 1 commit intodocker:v2from
ndeloof:empty_name
Mar 1, 2023
Merged

Report error if project name is empty after normalization#10334
ndeloof merged 1 commit intodocker:v2from
ndeloof:empty_name

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, StefanScherer, glours, laurazard, milas, nicksieger and ulyssessouza 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

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@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