const trust = require('./trust'); const fs = require('fs'); files = fs.readdirSync("."); files.forEach((file) => { if (file.endsWith(".js")) { trust.check("./" + file, true); } })