1
0
Fork 0

chore(core): log.warning is now log.warn

This commit is contained in:
joostdecock 2023-09-05 12:00:05 +02:00
parent e60362935c
commit 5c00551bca
14 changed files with 134 additions and 143 deletions

View file

@ -693,7 +693,7 @@ export function __addNonEnumProp(obj, name, value) {
export function __asNumber(value, param, method, log) {
if (typeof value === 'number') return value
if (typeof value === 'string') {
log.warning(
log.warn(
`Called \`${method}(${param})\` but \`${param}\` is not a number. Will attempt to cast to Number`
)
try {