Removed old todo comments

This commit is contained in:
Alexander Cerutti
2021-10-10 02:22:00 +02:00
parent 0ef66238a1
commit 4a33ebb335

View File

@@ -626,13 +626,6 @@ export default class PKPass extends Bundle {
*/ */
public async getAsBuffer(): Promise<Buffer> { public async getAsBuffer(): Promise<Buffer> {
/**
* @TODO compile this pass into something usable
* @TODO like _patch on old version
* @TODO share implementation with getAsStream
* @TODO warning if no icon files
*/
if (!this.isFrozen) { if (!this.isFrozen) {
this[closePassSymbol](); this[closePassSymbol]();
} }
@@ -649,13 +642,6 @@ export default class PKPass extends Bundle {
*/ */
public getAsStream(): Stream { public getAsStream(): Stream {
/**
* @TODO compile this pass into something usable
* @TODO like _patch on old version
* @TODO share implementation with getAsBuffer
* @TODO warning if no icon files
*/
if (!this.isFrozen) { if (!this.isFrozen) {
this[closePassSymbol](); this[closePassSymbol]();
} }