Travis build: 1978 [cron]

This commit is contained in:
30secondsofcode
2018-04-19 20:55:17 +00:00
parent 13769cce1f
commit 4eb94e2df4
3 changed files with 27 additions and 42 deletions

View File

@ -1,2 +1,2 @@
const when = (pred, whenTrue) => (x) => pred(x) ? whenTrue(x) : x;
const when = (pred, whenTrue) => x => (pred(x) ? whenTrue(x) : x);
module.exports = when;