mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-20 20:08:33 -04:00
JSDoc for extra/
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
bc7271b99c
commit
c7eb72e73b
8 changed files with 50 additions and 8 deletions
|
@ -53,6 +53,11 @@ const main = async () => {
|
|||
console.log("Finished.");
|
||||
};
|
||||
|
||||
/**
|
||||
* Ask question of user
|
||||
* @param {string} question Question to ask
|
||||
* @returns {Promise<string>} Users response
|
||||
*/
|
||||
function question(question) {
|
||||
return new Promise((resolve) => {
|
||||
rl.question(question, (answer) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue