From 0be34c3e5577b5c35131b2a89a619effc8a3b128 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:16:57 +0200 Subject: [PATCH] fix downport workflow (#1820) --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6a39fd93..04fb7d2a 100644 --- a/package.json +++ b/package.json @@ -5,15 +5,14 @@ "description": "Developing UI5 Apps Purely in ABAP.", "scripts": { "syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ", - "auto_downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes && cp -r src node/downport && cp -f .github/abaplint/abap_702.jsonc abaplint.jsonc", + "abaplintpathfix": "sed -i 's|\"files\": \"/\\.\\.\\/\\.\\.\\/src\\/\\*\\*\\/\\*\\.\\*\"|\"files\": \"/src/**/*.*\"|g' abaplint.jsonc", + "auto_downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes && cp -r src node/downport && cp -f .github/abaplint/abap_702.jsonc abaplint.jsonc && npm run abaplintpathfix", "auto_app2abap": "node .github/app2abap/trans2abap.js", "auto_abaplint": "npx abaplint .github/abaplint/auto_abaplint_fix.jsonc --fix", "auto_transpile": "rm -rf node/output && cp node/srv/*.abap node/downport && abap_transpile ./node/setup/abap_transpile.json", - "rename": "npm ci && abaplint .github/abaplint/rename_test.jsonc --rename", "express": "node node/srv/express.mjs", "unit": "echo RUNNING && node node/output/index.mjs" - }, "repository": { "type": "git",