Skip to content

Commit

Permalink
(fix) karrio cli template escape
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Dec 13, 2023
1 parent 41e407b commit da2ddb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/cli/commands/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
XML_GENERATE_TEMPLATE = Template(
"""SCHEMAS=./schemas
LIB_MODULES=./karrio/schemas/{{id}}
find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \;
find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \\;
touch "${LIB_MODULES}/__init__.py"
Expand All @@ -234,7 +234,7 @@
JSON_GENERATE_TEMPLATE = Template(
"""SCHEMAS=./schemas
LIB_MODULES=./karrio/schemas/{{id}}
find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \;
find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \\;
touch "${LIB_MODULES}/__init__.py"
quicktype () {
Expand Down

0 comments on commit da2ddb8

Please sign in to comment.