Skip to content

Commit

Permalink
Rename hubCiStatusCmd to hubCiStatusMain
Browse files Browse the repository at this point in the history
To clarify that it is the "main" function, as in C-like languages.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Aug 5, 2021
1 parent 60e997e commit 44437be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.js
Expand Up @@ -80,7 +80,7 @@ function coerceWait(arg) {
* @param {!CommandOptions} options Options.
* @param {function(number)} callback Callback with exit code.
*/
function hubCiStatusCmd(args, options, callback) {
function hubCiStatusMain(args, options, callback) {
if (typeof callback !== 'function') {
throw new TypeError('callback must be a function');
}
Expand Down Expand Up @@ -212,4 +212,4 @@ function hubCiStatusCmd(args, options, callback) {
});
}

module.exports = hubCiStatusCmd;
module.exports = hubCiStatusMain;

0 comments on commit 44437be

Please sign in to comment.