📝 Add missing period
This commit is contained in:
parent
d44a9d1fcc
commit
67c0de36a3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ deprecate.event = (emitter, oldName, newName, fn) ->
|
||||||
deprecate.warn = (oldName, newName) ->
|
deprecate.warn = (oldName, newName) ->
|
||||||
deprecate.log "#{oldName} is deprecated. Use #{newName} instead."
|
deprecate.log "#{oldName} is deprecated. Use #{newName} instead."
|
||||||
|
|
||||||
# Print deprecation message
|
# Print deprecation message.
|
||||||
deprecate.log = (message) ->
|
deprecate.log = (message) ->
|
||||||
if process.throwDeprecation
|
if process.throwDeprecation
|
||||||
throw new Error(message)
|
throw new Error(message)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue