refactor: remove Ramda (#18723)

This commit is contained in:
Tim Griesser
2021-11-01 13:37:33 -04:00
committed by GitHub
parent 4cb97b3472
commit c0d781d28f
45 changed files with 206 additions and 192 deletions
+1 -2
View File
@@ -8,7 +8,6 @@ const retry = require('bluebird-retry')
const la = require('lazy-ass')
const check = require('check-more-types')
const execa = require('execa')
const R = require('ramda')
const prettyMs = require('pretty-ms')
const pluralize = require('pluralize')
const debug = require('debug')('cypress:binary')
@@ -39,7 +38,7 @@ const createCLIExecutable = (command) => {
return execa(command, args, { stdio: 'inherit', cwd, env })
// if everything is ok, resolve with nothing
.then(R.always(undefined))
.then(() => undefined)
.catch((result) => {
const msg = `${commandToExecute} failed with exit code: ${result.code}`