im using glob folder content inside node js application, want ignore 1 file,there way to in elegant way?
glob("folder/*.js", function (err, extensions) {
the 2nd argument options, can set ignore path. reference
glob("folder/*.js", {ignore: ['folder/dont_want.js']}, function (err, extensions) {
Comments
Post a Comment