First commit
This commit is contained in:
7
node_modules/process-warning/examples/example.js
generated
vendored
Normal file
7
node_modules/process-warning/examples/example.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
const warning = require('..')()
|
||||
|
||||
warning.create('DeprecationWarning', 'CUSTDEP001', 'This is a deprecation warning')
|
||||
|
||||
warning.emit('CUSTDEP001')
|
||||
Reference in New Issue
Block a user