This commit is contained in:
Daniel Lugo 2020-05-16 21:27:27 -04:00
parent 609c0f2b96
commit 1627485d6a

View file

@ -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 => {