mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-04 22:10:40 -05:00
cli: normalized all start methods
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user