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

change hashFiles() expression to use @actions/glob. #268

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang force-pushed the users/tihuang/findfiles branch 2 times, most recently from e99e689 to 32bd511 Compare January 13, 2020 01:02
}
}

public sealed class HashFiles : Function
Copy link
Collaborator

Choose a reason for hiding this comment

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

have you considered allowing multiple patterns? That is, minParameters: 1, maxParameters: int.MaxValue

If multiple patterns, check if the first one is --follow-symbolic-links otherwise add it to the list of patterns.

Copy link
Member Author

Choose a reason for hiding this comment

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

i am trying switch hashfiles to use actions/glob in this PR without any behavior changes and add multiple patterns later.

Copy link
Member Author

Choose a reason for hiding this comment

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

support multiple actually make the code simple, i will do it.

@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
Copy link
Collaborator

Choose a reason for hiding this comment

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

i wonder if this should be ES2019. Or have you considered just regular javascript since now much code. Your call.

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