From 9e5f8ee2a703b4a042e622691864282f7e650a77 Mon Sep 17 00:00:00 2001 From: danielc-n Date: Tue, 10 Sep 2024 15:01:40 +0200 Subject: [PATCH] removed some useless 'console.log' and changed the name of the artifacts to avoid error within github actions --- .github/workflows/node.js.yml | 6 +++--- .../pdfGenWrappers/fieldPicker/FieldPicker.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d71398d6..dc5896ba 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -46,7 +46,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: Scribe - path: dist + path: Scribe-${{ github.run_id }}-${{ github.sha }} overwrite: true build-windows: @@ -92,7 +92,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: Scribe + name: Scribe-${{ github.run_id }}-${{ github.sha }} path: artifacts overwrite: true @@ -156,6 +156,6 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: Scribe + name: Scribe-${{ github.run_id }}-${{ github.sha }} path: dist overwrite: true \ No newline at end of file diff --git a/renderer/src/layouts/editor/pdfGenInterface/pdfGenWrappers/fieldPicker/FieldPicker.js b/renderer/src/layouts/editor/pdfGenInterface/pdfGenWrappers/fieldPicker/FieldPicker.js index 040b807b..bb77d71c 100644 --- a/renderer/src/layouts/editor/pdfGenInterface/pdfGenWrappers/fieldPicker/FieldPicker.js +++ b/renderer/src/layouts/editor/pdfGenInterface/pdfGenWrappers/fieldPicker/FieldPicker.js @@ -15,7 +15,7 @@ export function FieldPicker({ open, }) { let require = fieldInfo.nValues[0] > 0; - console.log("reload of FieldPicker :", JSON.parse(jsonSpecEntry)); + // console.log("reload of FieldPicker :", JSON.parse(jsonSpecEntry)); if (typeof fieldInfo.typeLiteral === typeof true || fieldInfo.typeLiteral) { setJsonSpec((prev) => { @@ -40,7 +40,7 @@ export function FieldPicker({ if (fieldInfo.typeEnum) { // there only one resource to pick if (1 === fieldInfo.nValues[1]) { - console.log(fieldInfo); + // console.log(fieldInfo); return (