Files
vue-cli/scripts/patchChromedriver.js
Haoqun Jiang f9f6afaa76 ci: update chromedriver version in appveyor to 2.45
Their Chrome version has been updated.
See https://www.appveyor.com/updates/2019/02/11/

(cherry picked from commit 197fd92c73)
2019-05-25 22:12:00 +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))