mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Removed old todo comments
This commit is contained in:
@@ -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]();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user