Files
vue-cli/scripts/patchChromedriver.js
2018-06-13 01:49:35 -04:00

11 lines
339 B
JavaScript

// Appveyor current only ships Chrome 65
// which is no longer supported by the latest version of Chromedriver.
const fs = require('fs')
const path = require('path')
const pkg = require('../package.json')
pkg.resolutions.chromedriver = '2.38.0'
fs.writeFileSync(path.resolve(__dirname, '../package.json'), JSON.stringify(pkg, null, 2))