mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-11 09:40:11 -06:00
* chore: convert server/lib/modes files to ts * update snapshots * add back require * fix call to errors.warning * Add changelog entry.
9 lines
168 B
TypeScript
9 lines
168 B
TypeScript
import { toNumber } from 'lodash'
|
|
import Promise from 'bluebird'
|
|
|
|
export = (options) => {
|
|
return Promise.try(() => {
|
|
return toNumber(options.exitWithCode)
|
|
})
|
|
}
|