From 44437be3612934f295dc7c2cb659050eb182b403 Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Fri, 30 Apr 2021 09:06:19 -0600 Subject: [PATCH] Rename hubCiStatusCmd to hubCiStatusMain To clarify that it is the "main" function, as in C-like languages. Signed-off-by: Kevin Locke --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index a4bdd58..51910a0 100644 --- a/cli.js +++ b/cli.js @@ -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'); } @@ -212,4 +212,4 @@ function hubCiStatusCmd(args, options, callback) { }); } -module.exports = hubCiStatusCmd; +module.exports = hubCiStatusMain;