web_reader / integrity-check.cjs
nomagick's picture
restructure: nolonger a firebase application (#1160)
23a3b80 unverified
raw
history blame
269 Bytes
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const file = path.resolve(__dirname, 'licensed/GeoLite2-City.mmdb');
if (!fs.existsSync(file)) {
console.error(`Integrity check failed: ${file} does not exist.`);
process.exit(1);
}