Skip to content

Commit

Permalink
formatbot: Automatically format code
Browse files Browse the repository at this point in the history
  • Loading branch information
tscircuitbot committed Feb 11, 2025
1 parent 6eeeae1 commit 3452c2f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { SourceNet, SourcePort, SourceTrace } from "circuit-json";
import type { DsnPcb } from "lib/dsn-pcb/types";
import type { SourceNet, SourcePort, SourceTrace } from "circuit-json"
import type { DsnPcb } from "lib/dsn-pcb/types"

export const convertNetsToSourceNetsAndTraces = ({
dsnPcb,
Expand All @@ -11,7 +11,7 @@ export const convertNetsToSourceNetsAndTraces = ({
let source_trace_id = dsnPcb.wiring.wires.length
for (const net of nets) {
const { name, pins = [] } = net

if (!name || name.startsWith("unconnected-")) continue

const source_net: SourceNet = {
Expand Down Expand Up @@ -42,4 +42,4 @@ export const convertNetsToSourceNetsAndTraces = ({
}

return result
}
}

0 comments on commit 3452c2f

Please sign in to comment.