opened
MarquiseRosier
username_0
"fix #1135"

https://github.com/adobe/helix-cli/issues/1135


Thanks for contributing!
fix(publish): hlx publish checks for empty strings
issue
created
MarquiseRosier
username_0
@tripodsan this is true, hmmm this is a very good point. what do you have in mind? Hmmm; perhaps we can make a util function. That runs in the check

I think the .check((args) => {
passes the entire yargs json object. So we can just run some generic test on all the args that are required!
}
comment
created
MarquiseRosier
username_0
@tripodsan Yes, even if we stick .check in any yargs-*.js file. It executes last, giving us the ability to throw a util function into it and check for required args from some yargs file that all of the commands share; particularly yargs-fastly or yargs-openwhisk
comment
created
MarquiseRosier
username_0
Is this a suitable approach to checking for blank args. They're present but they contain no data; this is what i'm checking for.
comment