Add specs for companyName/submitURL being required
This commit is contained in:
parent
80e9631220
commit
aedfd3bf0e
3 changed files with 12 additions and 3 deletions
|
@ -52,7 +52,7 @@ deprecate.event = (emitter, oldName, newName, fn) ->
|
|||
else
|
||||
@emit oldName, args...
|
||||
|
||||
# Print deprecate warning.
|
||||
# Print deprecation warning.
|
||||
deprecate.warn = (oldName, newName) ->
|
||||
deprecate.log("#{oldName} is deprecated. Use #{newName} instead.")
|
||||
|
||||
|
@ -65,5 +65,4 @@ deprecate.log = (message) ->
|
|||
else
|
||||
console.warn "(electron) #{message}"
|
||||
|
||||
|
||||
module.exports = deprecate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue