diff --git a/utils/fs.js b/utils/fs.js index 43e018cb..b4cbee1c 100644 --- a/utils/fs.js +++ b/utils/fs.js @@ -2,6 +2,9 @@ const { promisify } = require("util"); const FS = require("fs"); module.exports = { + /** + * @param {string} path + */ access: path => new Promise(resolve => { FS.access(path, FS.constants.F_OK, err => {