Fix sendAnnotation option (#3726)
The boolean "graphite.sendAnnotation" was added in https://github.com/sitespeedio/sitespeed.io/pull/3625, but it can't be disabled, because `opts.sendAnnotation || true` is always going to evaluate to `true`. Since it defaults to `true`, the `|| true` shouldn't be necessary, so I removed it.
This commit is contained in:
parent
2af83aab7c
commit
070e0132a8
|
|
@ -62,7 +62,7 @@ module.exports = {
|
|||
this.messageTypesToFireAnnotations = [];
|
||||
this.receivedTypesThatFireAnnotations = {};
|
||||
this.make = context.messageMaker('graphite').make;
|
||||
this.sendAnnotation = opts.sendAnnotation || true;
|
||||
this.sendAnnotation = opts.sendAnnotation;
|
||||
this.alias = {};
|
||||
this.wptExtras = {};
|
||||
this.usingBrowsertime = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue