cli: remove passing in --cli-version to binary

This commit is contained in:
Brian Mann
2017-09-01 00:55:27 -04:00
parent 579608ce95
commit 3607a08efb
5 changed files with 6 additions and 28 deletions
-6
View File
@@ -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)
}