Skip to content

Conversation

@joshrwolf
Copy link
Contributor

@joshrwolf joshrwolf commented Sep 3, 2024

a helper function that uses the *git.Repository struct for getting a set of changed files between the tips of two branches.

this intentionally doesn't use the GH client to preserve our precious api quota

@ghost
Copy link

ghost commented Sep 3, 2024

Wiz Scan Summary

Scan Module Critical High Medium Low Info Total
IaC Misconfigurations 0 0 0 0 0 0
Vulnerabilities 1 1 0 0 0 2
Secrets 0 0 0 0 0 0
Total 1 1 0 0 0 2

View scan details in Wiz

@joshrwolf joshrwolf force-pushed the sdk/changed-files branch 2 times, most recently from 298e020 to ddeabca Compare September 17, 2024 13:45
}

if fromCommit == nil || toCommit == nil {
return nil, fmt.Errorf("one or both commits are nil")
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: include the fromCommit and toCommit in the error message so its clear which one is nil or not

Copy link
Contributor

@k4leung4 k4leung4 left a comment

Choose a reason for hiding this comment

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

one minor comment

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