diff options
Diffstat (limited to 'lib/detect.js')
-rw-r--r-- | lib/detect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/detect.js b/lib/detect.js index 43fab1e..5c8fd6e 100644 --- a/lib/detect.js +++ b/lib/detect.js @@ -27,7 +27,7 @@ import awaitify from './internal/awaitify.js' * Result will be the first item in the array that passes the truth test * (iteratee) or the value `undefined` if none passed. Invoked with * (err, result). - * @returns A Promise, if no callback is passed + * @returns {Promise} a promise, if a callback is omitted * @example * * // dir1 is a directory that contains file1.txt, file2.txt |