Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Conversation

@rawlingsj
Copy link
Member

…ame found

noticed this when running dag in a folder that had other yaml files which were not melange configs, so wanted dag to ignore these files.

Signed-off-by: James Rawlings jrawlings@chainguard.dev

…ame found

noticed this when running dag in a folder that had other yaml files which were not melange configs, so wanted dag to ignore these files.

Signed-off-by: James Rawlings <jrawlings@chainguard.dev>
Copy link
Member

@luhring luhring left a comment

Choose a reason for hiding this comment

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

👍 👍

name := c.Package.Name
if name == "" {
log.Fatalf("no package name in %q", path)
log.Printf("no package name in %q", path)
Copy link
Member

Choose a reason for hiding this comment

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

nit: (just to be explicit about the effect this circumstance will have on the DAG) 🤷

Suggested change
log.Printf("no package name in %q", path)
log.Printf("no package name in %q, skipping...", path)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants