mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
📝 Add missing period
This commit is contained in:
@@ -56,7 +56,7 @@ deprecate.event = (emitter, oldName, newName, fn) ->
|
||||
deprecate.warn = (oldName, newName) ->
|
||||
deprecate.log "#{oldName} is deprecated. Use #{newName} instead."
|
||||
|
||||
# Print deprecation message
|
||||
# Print deprecation message.
|
||||
deprecate.log = (message) ->
|
||||
if process.throwDeprecation
|
||||
throw new Error(message)
|
||||
|
||||
Reference in New Issue
Block a user