Created
January 26, 2019 21:19
-
-
Save MarcoNicolodi/a9e152f517c995f7e1b361ed38cb278a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (matching) { | |
candidateFiles = await filesystem.find(directory, { matching }) | |
} else { | |
candidateFiles = await filesystem.list(directory) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment