chore: remove logs
This commit is contained in:
parent
96fa94fde6
commit
9d4d933f05
2 changed files with 1 additions and 6 deletions
|
|
@ -16,8 +16,6 @@ exports.makeChange = function makeChange (cassettes, amount) {
|
||||||
}))
|
}))
|
||||||
const amountNum = amount.toNumber()
|
const amountNum = amount.toNumber()
|
||||||
|
|
||||||
console.log('cassettes', cassettes)
|
|
||||||
|
|
||||||
const sortedCassettes = _.orderBy(cassetteMap, ['denomination'], ['desc'])
|
const sortedCassettes = _.orderBy(cassetteMap, ['denomination'], ['desc'])
|
||||||
|
|
||||||
const finalDist = []
|
const finalDist = []
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@ import * as R from 'ramda'
|
||||||
|
|
||||||
const isValidNumber = R.both(R.is(Number), R.complement(R.equals(NaN)))
|
const isValidNumber = R.both(R.is(Number), R.complement(R.equals(NaN)))
|
||||||
|
|
||||||
const transformNumber = value => {
|
const transformNumber = value => (isValidNumber(value) ? value : null)
|
||||||
console.log('value', value)
|
|
||||||
return isValidNumber(value) ? value : null
|
|
||||||
}
|
|
||||||
|
|
||||||
export { transformNumber }
|
export { transformNumber }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue