Files
cypress/packages/server/lib/modes/exit.ts
Jennifer Shehane 6bd522bb74 misc: convert server/lib/modes files to ts + add more cli options to Cloud terminal error outputs (#31211)
* chore: convert server/lib/modes files to ts

* update snapshots

* add back require

* fix call to errors.warning

* Add changelog entry.
2025-03-06 12:39:24 -05:00

9 lines
168 B
TypeScript

import { toNumber } from 'lodash'
import Promise from 'bluebird'
export = (options) => {
return Promise.try(() => {
return toNumber(options.exitWithCode)
})
}