From 5b939e997531c412034e33c0d4562e273fcdbef5 Mon Sep 17 00:00:00 2001 From: Rishabh Gupta Date: Wed, 6 Nov 2024 10:52:26 +0530 Subject: [PATCH] format fix --- .../circuit-json-to-dsn-json/process-components-and-pads.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dsn-pcb/circuit-json-to-dsn-json/process-components-and-pads.ts b/lib/dsn-pcb/circuit-json-to-dsn-json/process-components-and-pads.ts index b5d23f4..43a502d 100644 --- a/lib/dsn-pcb/circuit-json-to-dsn-json/process-components-and-pads.ts +++ b/lib/dsn-pcb/circuit-json-to-dsn-json/process-components-and-pads.ts @@ -6,8 +6,8 @@ import type { import { getComponentValue } from "lib/utils/get-component-value" import { getFootprintName } from "lib/utils/get-footprint-name" import { getPadstackName } from "lib/utils/get-padstack-name" -import type { DsnPcb, ComponentGroup, Padstack } from "../types" import { applyToPoint, scale } from "transformation-matrix" +import type { ComponentGroup, DsnPcb, Padstack } from "../types" const transformMmToUm = scale(1000) @@ -82,7 +82,7 @@ export function processComponentsAndPads( } // Handle padstacks - const padstackName =`${getPadstackName(srcComp?.ftype)}_${srcComp?.source_component_id}` + const padstackName = `${getPadstackName(srcComp?.ftype)}_${srcComp?.source_component_id}` if (!processedPadstacks.has(padstackName)) { const padstack = createExactPadstack(padstackName) pcb.library.padstacks.push(padstack)