mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-06 06:18:38 -06:00
ci: log patched chromedriver version
This commit is contained in:
@@ -9,4 +9,6 @@ const versionString = require('child_process').execSync('wmic datafile where nam
|
||||
const majorVersion = versionString.match(/Version=(\d+)/)[1]
|
||||
pkg.resolutions.chromedriver = `^${majorVersion}.0.0`
|
||||
|
||||
console.log(`patched chromedriver to version ${majorVersion}`)
|
||||
|
||||
fs.writeFileSync(path.resolve(__dirname, '../package.json'), JSON.stringify(pkg, null, 2))
|
||||
|
||||
Reference in New Issue
Block a user