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 Jul 26, 2024
1 parent 6b95974 commit 9f3cbe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/check-each-pcb-port-connected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ function checkEachPcbPortConnected(soup: AnySoupElement[]): PCBTraceError[] {
)

// Check if the port is supposed to be connected
const isSupposedToBeConnected = sourceTrace && sourceTrace.connected_source_port_ids?.length > 0
const isSupposedToBeConnected =
sourceTrace && sourceTrace.connected_source_port_ids?.length > 0

if (connectedTraces.length === 0 && isSupposedToBeConnected) {
errors.push({
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f3cbe5

Please sign in to comment.