Skip to content

Commit

Permalink
cleanup 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiboSoftwareDev committed Sep 28, 2024
1 parent ac80052 commit 41540d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions cli/lib/export-fns/export-gerbers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const exportGerbersToFile = async (
},
ctx,
)
console.log(soup, "soup")

console.log(kleur.gray("[soup to gerber json]..."))
const gerber_layer_cmds = convertSoupToGerberCommands(soup, {
Expand Down Expand Up @@ -92,7 +91,6 @@ export const exportGerbersToZipBuffer = async (
) => {
const tempDir = Path.join(".tscircuit", "tmp-gerber-zip")
fs.mkdirSync(tempDir, { recursive: true })
console.log("step two")
await exportGerbersToFile(
{
example_file_path: params.example_file_path,
Expand All @@ -101,7 +99,6 @@ export const exportGerbersToZipBuffer = async (
},
ctx,
)
console.log("step last")

const buffer = fs.readFileSync(Path.join(tempDir, "gerbers.zip"))

Expand Down
1 change: 1 addition & 0 deletions cli/lib/soupify/run-entrypoint-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const runEntrypointFile = async (
const processResult = await processCmdPart1
.stderr(debug.enabled ? "inheritPiped" : "piped")
.stdout(debug.enabled ? "inheritPiped" : "piped")
.noThrow()

const rawSoup = await readFile(tmpOutputPath, "utf-8")
const errText = processResult.stderr
Expand Down

0 comments on commit 41540d2

Please sign in to comment.