Created
February 4, 2017 00:06
-
-
Save kalinchernev/4fb5f5129a202bd14bb9518bcef74244 to your computer and use it in GitHub Desktop.
Implementing findFiles.js
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
findFiles(process.argv.slice(2), '.js') | |
.on('match', file => console.log(file + ' is a match')) | |
.on('error', err => console.log('Error emitted: ' + err.message)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment