Closed OmgImAlexis closed 4 years ago
Notice the double slash in the filename.
import * as fdir from 'fdir'; const go = async () => { const files = await fdir.async('/Users/xo/Downloads/', {}); console.log(files); // ['/Users/xo/Downloads//Download.PDF'] }; go().catch(error => { console.error(error); });
Notice the double slash in the filename.