resolve code changes
This commit is contained in:
Родитель
ca93dcd97d
Коммит
528b698048
3
audit.js
3
audit.js
|
@ -20,7 +20,7 @@ const audit = (extensionLogArgs, auditOptions) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
auditDirectly: audit,
|
audit: audit,
|
||||||
initialize: (context, opts) => {
|
initialize: (context, opts) => {
|
||||||
assert(opts, 'Options object must be defined')
|
assert(opts, 'Options object must be defined')
|
||||||
assert(typeof opts.eventName === 'string', 'Event name must be a string')
|
assert(typeof opts.eventName === 'string', 'Event name must be a string')
|
||||||
|
@ -28,7 +28,6 @@ module.exports = {
|
||||||
|
|
||||||
const auditOptions = opts
|
const auditOptions = opts
|
||||||
|
|
||||||
// clearQueue()
|
|
||||||
auditQueue = []
|
auditQueue = []
|
||||||
|
|
||||||
shimmer.wrap(context, 'log', function (original) {
|
shimmer.wrap(context, 'log', function (original) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче