mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-02 20:38:35 -06:00
ci: attempt to fix chromedriver for Appveyor
This commit is contained in:
10
scripts/patchChromedriver.js
Normal file
10
scripts/patchChromedriver.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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))
|
||||
Reference in New Issue
Block a user