-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add HashFiles to the toolkit #830
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
Conversation
| core.debug(`Found ${count} files to hash.`) | ||
| return result.digest('hex') | ||
| } else { | ||
| core.error(`No matches found for glob`) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
luketomlinson
left a comment
There was a problem hiding this 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`) |
There was a problem hiding this comment.
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
|
Hi, I am trying to use this in an action. Could you please publish a new version of this module to NPM? |
|
urica12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Resolves #472