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

CWP-59209: validate output formats input #58

Merged
merged 9 commits into from
Aug 28, 2023
Merged

CWP-59209: validate output formats input #58

merged 9 commits into from
Aug 28, 2023

Conversation

tarunaluguri
Copy link
Contributor

No description provided.

@@ -177,6 +181,25 @@ const getJsonString = function(jsonObj){
return "\"" + myEscapedJSONString + "\"";
}

const validateOutputFormat = function(outputFormat) {
if (outputFormat.length <= 0) {
core.setFailed("output format is not supplied");
Copy link
Contributor

Choose a reason for hiding this comment

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

If they don't supply, can we assume and proceed with human output?

@jragula-zs jragula-zs merged commit 323152b into main Aug 28, 2023
@jragula-zs jragula-zs deleted the CWP-59209 branch August 28, 2023 14:31
@tarunaluguri tarunaluguri restored the CWP-59209 branch August 30, 2023 08:18
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