http://fb.me/react-js-fiddle-integration.js no longer works, and this causes all old fiddles like http://jsfiddle.net/haa2euy9/1/ to break. We should fix it.
const mode = process.argv[2] || 'check';
const shouldWrite = mode === 'write' || mode === 'write-changed';
const onlyChanged = mode === 'check-changed' || mode === 'write-changed';
const isWindows = process.platform === 'win32';
const prettier = isWindows ? 'prettier.cmd' : 'prettier';
const prettierCmd = path.resolve(
  __dirname,
  '../../node_modules/.bin/' + prettier
);
const defaultOptions = {
  'bracket-spacing': 'false',
  'single-quote': 'true',
  'jsx-bracket-same-line': 'true',
  'trailing-comma': 'all',
  'print-width': 80,
};
const config = {
  default: {
    patterns: ['src/**/*.js', 'www/**/*.js'],
    ignore: ['**/third_party/**', '**/node_modules/**'],
  },
  scripts: {
    patterns: ['scripts/**/*.js', 'fixtures/**/*.js'],
    ignore: ['scripts/bench/benchmarks/**'],
    options: {
      'trailing-comma': 'es5',
    },
  },
};
function exec(command, args) {