Last active
February 6, 2017 22:04
-
-
Save jechav/b4ab7210bef29f77aa413dcfd13106d8 to your computer and use it in GitHub Desktop.
check files in vendor.js exits
This file contains 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
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