Skip to content

Commit

Permalink
remove unused class method
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Oct 21, 2020
1 parent b3743d3 commit edf6af4
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,4 @@ export class PdfMaker {
this._pdfDoc.end();
});
}

getStream() {
if (!this._pdfDoc) {
throw new Error(
i18n.translate(
'xpack.reporting.exportTypes.printablePdf.documentStreamIsNotgeneratedErrorMessage',
{
defaultMessage: 'Document stream has not been generated',
}
)
);
}
this._pdfDoc.end();
return this._pdfDoc;
}
}

0 comments on commit edf6af4

Please sign in to comment.