'use strict'

const fs = require('fs');
const path = require('path');

module.exports = function(filename) {
  if (!fs.existsSync(path.join(__dirname, filename))) {
    console.log(
        'Oops! Looks like the chromium-edge-launcher files needs to be compiled. Please run:');
    console.log('   yarn; yarn build;');
    process.exit(1);
  }
}
