chore(core): log.warning is now log.warn
This commit is contained in:
parent
e60362935c
commit
5c00551bca
14 changed files with 134 additions and 143 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue