node-dir icon indicating copy to clipboard operation
node-dir copied to clipboard

Missing results when using the synchronous files function

Open nataelbaffou opened this issue 1 year ago • 0 comments

When using the sync files function : files(dir, {sync:true}) no value is returned. Indeed in the file lib/paths.js in the definition of the return line is : if(options.sync)return; And should be : if(options.sync)return results;

nataelbaffou avatar Mar 12 '23 21:03 nataelbaffou