Ramda.when always return true using fs
I am trying to use Ramda.when to execute only if a condition is true but it’s always returning true: const bla2 = path => () => R.when(fs.existsSync(path()), console.log(path())) Is there anyway to use Ramda.when with fs.existsSync? edit: Even set false this is not working: const bla3 => () => R.when(false, console.log(‘bla’)) This is the real… Read More Ramda.when always return true using fs