cli: normalized all start methods

This commit is contained in:
Brian Mann
2017-09-04 00:00:41 -04:00
parent 8ee29f7864
commit 173849f4ab
7 changed files with 21 additions and 20 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ const cp = require('child_process')
const Promise = require('bluebird')
const debug = require('debug')('cypress:cli')
const downloadUtils = require('../download/utils')
const info = require('../tasks/info')
const xvfb = require('./xvfb')
const { throwFormErrorText, errors } = require('../errors')
@@ -18,7 +18,7 @@ module.exports = {
const spawn = () => {
return new Promise((resolve, reject) => {
const cypressPath = downloadUtils.getPathToExecutable()
const cypressPath = info.getPathToExecutable()
debug('spawning Cypress %s', cypressPath)
debug('spawn args %j', args)