Skip to content

Conversation

@DannyBrito
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

sorted := dalec.SortMapKeys(spec.Artifacts.InfoFiles)
for _, key := range sorted {
cfg := spec.Artifacts.InfoFiles[key]
resolved := cfg.ResolveName(key)
Copy link
Contributor

Choose a reason for hiding this comment

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

I notice that in some cases (e.g. docs, licenses) we do this check:

if resolved != key || cfg.SubPath != ""

Can you help me understand the reason for that check and why it's not needed here?

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.

2 participants