mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 13:30:26 -05:00
cli: remove passing in --cli-version to binary
This commit is contained in:
@@ -2,9 +2,6 @@ const _ = require('lodash')
|
||||
const debug = require('debug')('cypress:cli')
|
||||
const downloadUtils = require('../download/utils')
|
||||
const spawn = require('./spawn')
|
||||
const path = require('path')
|
||||
const packagePath = path.join(__dirname, '..', '..', 'package.json')
|
||||
const pkg = require(packagePath)
|
||||
|
||||
const processRunOptions = (options = {}) => {
|
||||
const args = ['--run-project', options.project]
|
||||
@@ -64,9 +61,6 @@ const processRunOptions = (options = {}) => {
|
||||
args.push('--output-path', options.outputPath)
|
||||
}
|
||||
|
||||
//// send in the CLI version
|
||||
args.push('--cli-version', pkg.version)
|
||||
|
||||
if (options.browser) {
|
||||
args.push('--browser', options.browser)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user