Skip to content

Commit e2d72c8

Browse files
authored
Update package.json
1 parent 830e96d commit e2d72c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"version": "1.0.0",
55
"description": "abap2UI5-local",
66
"scripts": {
7+
"abaplintpathfix": "sed -i 's|\"files\": \"/\\.\\.\\/\\.\\.\\/src\\/\\*\\*\\/\\*\\.\\*\"|\"files\": \"/src/**/*.*\"|g' abaplint.jsonc",
78
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
8-
"downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes && cp -f .github/abaplint/abap_702.jsonc abaplint.jsonc",
9+
"downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes && cp -f .github/abaplint/abap_702.jsonc abaplint.jsonc && npm run abaplintpathfix",
910
"init_downport": "git clone --branch 702 https://github.com/abap2UI5/abap2UI5 && cp -r abap2UI5/src src",
1011
"cleanup_downport": "rm -rf abap2UI5 && rm -rf src/src"
1112
},
@@ -27,4 +28,4 @@
2728
"dependencies": {
2829
"npm-check-updates": "^17.1.13"
2930
}
30-
}
31+
}

0 commit comments

Comments
 (0)