Skip to content

Instantly share code, notes, and snippets.

@jechav
Last active February 6, 2017 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jechav/b4ab7210bef29f77aa413dcfd13106d8 to your computer and use it in GitHub Desktop.
Save jechav/b4ab7210bef29f77aa413dcfd13106d8 to your computer and use it in GitHub Desktop.
check files in vendor.js exits
var fs = require('fs');
function checkFiles(list){
list.forEach((path) => {
if (!fs.existsSync(path)) {
console.log('-- Not found '+path)
}
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment