mirror of
https://github.com/Azure/setup-helm.git
synced 2025-09-09 21:46:29 +00:00
v3 new release (#80)
This commit is contained in:
committed by
GitHub
parent
a767c8d3a1
commit
20d2b4f98d
16
node_modules/istanbul-lib-report/lib/report-base.js
generated
vendored
Normal file
16
node_modules/istanbul-lib-report/lib/report-base.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
// TODO: switch to class private field when targetting node.js 12
|
||||
const _summarizer = Symbol('ReportBase.#summarizer');
|
||||
|
||||
class ReportBase {
|
||||
constructor(opts = {}) {
|
||||
this[_summarizer] = opts.summarizer;
|
||||
}
|
||||
|
||||
execute(context) {
|
||||
context.getTree(this[_summarizer]).visit(this, context);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ReportBase;
|
Reference in New Issue
Block a user