projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update devDependencies, fix lint issues
[squeep-authentication-module]
/
lib
/
stdio-credential.js
diff --git
a/lib/stdio-credential.js
b/lib/stdio-credential.js
index 5e7632e9b7f116f2dcd6d74f56be51b685de21d7..c3a0448eb21e6637e755c833e32efdece36e9a9e 100644
(file)
--- a/
lib/stdio-credential.js
+++ b/
lib/stdio-credential.js
@@
-5,8
+5,8
@@
const stream = require('node:stream');
/**
* Read a credential from stdin in a silent manner.
/**
* Read a credential from stdin in a silent manner.
- * @param {
String}
prompt
- * @returns {Promise<
String>}
+ * @param {
string} prompt
prompt
+ * @returns {Promise<
string>} input credential
*/
async function stdioCredential(prompt) {
const input = process.stdin;
*/
async function stdioCredential(prompt) {
const input = process.stdin;
@@
-33,4
+33,4
@@
async function stdioCredential(prompt) {
});
}
});
}
-module.exports = stdioCredential;
\ No newline at end of file
+module.exports = stdioCredential;