From ea95438786e6da2f01e76cc3c84859772fe31280 Mon Sep 17 00:00:00 2001 From: Nick Playfair <842413+nplayfair@users.noreply.github.com> Date: Sun, 15 Jun 2025 23:06:35 +0100 Subject: [PATCH] Remove some legacy js --- src/index.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8c96969..6237fe2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -47,10 +47,7 @@ export class ImageGenerator implements ZipExtractor, LayerGenerator { return zip.getEntries().length; } - /** - * Temporary test method zip file - - */ + //Test archive public testArchive(fileName: string, tmpDir: string): number { // Check archive exists try { @@ -167,10 +164,8 @@ export class ImageGenerator implements ZipExtractor, LayerGenerator { /** * Take an archive containing gerber files and return a stream containing - * a PNG image from the gerber - * @param {string} gerber Path to an archive file containing gerber - * @returns {Promise.} Promise that resolves to a PNG stream - */ + * a PNG image from the gerber */ + gerberToStream(gerber: string) { // Check temp and output dirs exist if (!existsSync(gerber)) {