| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Note: release:stage is added to trigger the integration tests. Integration tests should fail with the added test in this PR. This new test will trigger the send email workflow once merged to master. |
Sorry, something went wrong.
| }); | ||
|
|
||
| let from = core.getInput('from'); | ||
| const cc = core.getInput('cc'); |
There was a problem hiding this comment.
We probably do not need cc filed. I am open to remove it and keep this action as simple as possible if we need.
Sorry, something went wrong.
There was a problem hiding this comment.
Looks pretty good. A few thoughts for improvement.
Sorry, something went wrong.
|
Thanks, @hiranya911! |
Sorry, something went wrong.
There was a problem hiding this comment.
Just a couple of readability nits. And remember to update the binary every time you push a code change.
Sorry, something went wrong.
|
|
||
| function validate(config) { | ||
| for (param in config) { | ||
| if (['cc', 'text', 'html'].includes(param)) { |
There was a problem hiding this comment.
const optionalFields = ['cc', 'text', 'html'];
Sorry, something went wrong.
| } | ||
| } | ||
|
|
||
| function validateParameter(value, name) { |
There was a problem hiding this comment.
validateRequiredParameter
Sorry, something went wrong.
|
Thanks @hiranya911! Updated the binary. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.