Files
vue-cli/scripts/patchChromedriver.js
2019-05-23 21:58:06 +08:00

11 lines
339 B
JavaScript

// Appveyor current only ships Chrome 72
// 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.45.0'
fs.writeFileSync(path.resolve(__dirname, '../package.json'), JSON.stringify(pkg, null, 2))