diff --git a/package.json b/package.json index 1606ee80..0b410010 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "version": "1.0.0", "description": "Explore Code Samples of abap2UI5", "scripts": { - "downport": "rm -rf downport && cp -r src downport && abaplint --fix abaplint-downport.jsonc", + "syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ", + "downport": "rm -rf downport && cp -r src downport && abaplint --fix abaplint-downport.jsonc && npm run syfixes", "unit": "echo RUNNING && node output/index.mjs", "transpile": "rm -rf output && abap_transpile test/abap_transpile.json", "test": "npm run downport && npm run transpile && npm run unit"