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:
Mason Malone 2022-09-20 00:07:28 -07:00 committed by soulgalore
parent 2af83aab7c
commit 070e0132a8
1 changed files with 1 additions and 1 deletions

View File

@ -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;