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

Add HashFiles to the toolkit #830

Merged
merged 10 commits into from
Jun 7, 2021
Merged

Add HashFiles to the toolkit #830

merged 10 commits into from
Jun 7, 2021

Conversation

thboop
Copy link
Collaborator

@thboop thboop commented Jun 4, 2021

Resolves #472

core.debug(`Found ${count} files to hash.`)
return result.digest('hex')
} else {
core.error(`No matches found for glob`)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

what should we do when no files are found?

Copy link
Contributor

Choose a reason for hiding this comment

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

IMO this feels more like a warning than an error

Copy link

Choose a reason for hiding this comment

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

Okay

Copy link

Choose a reason for hiding this comment

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

Okay

@thboop thboop marked this pull request as ready for review June 7, 2021 15:11
@thboop thboop requested a review from a team as a code owner June 7, 2021 15:11
@thboop thboop requested a review from luketomlinson June 7, 2021 15:11
Copy link
Contributor

@luketomlinson luketomlinson left a comment

Choose a reason for hiding this comment

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

Looks good! One comment, not a show stopper

core.debug(`Found ${count} files to hash.`)
return result.digest('hex')
} else {
core.error(`No matches found for glob`)
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO this feels more like a warning than an error

@Be-ing
Copy link

Be-ing commented Aug 6, 2021

Hi, I am trying to use this in an action. Could you please publish a new version of this module to NPM?

@urica12
Copy link

urica12 commented Oct 17, 2022

Looks good! Thanks r

Copy link

@urica12 urica12 left a comment

Choose a reason for hiding this comment

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

Thank you

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.

Add hashFiles to the toolkit
4 participants