mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-02 21:10:47 -05:00
secure cookie error crash (#2685)
- fixes #1264 - fixes #1321 - fixes #1799 - fixes #2689 - fixes #2688 - fixes #2687 - fixes #2686
This commit is contained in:
@@ -88,6 +88,7 @@ module.exports = {
|
||||
options.env = _.extend({}, options.env, overrides)
|
||||
|
||||
const child = cp.spawn(executable, args, options)
|
||||
|
||||
child.on('close', resolve)
|
||||
child.on('error', reject)
|
||||
|
||||
@@ -137,8 +138,9 @@ module.exports = {
|
||||
return xvfb.start()
|
||||
.then(userFriendlySpawn)
|
||||
.finally(xvfb.stop)
|
||||
} else {
|
||||
return userFriendlySpawn()
|
||||
}
|
||||
|
||||
return userFriendlySpawn()
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user