Browse Source

Changed input,output value substitution placeholders to not conflict with jinja templates.

add-file-preservation 1.1.6
Drew Short 5 years ago
parent
commit
48cf76e054
  1. 4
      acm.py

4
acm.py

@ -602,8 +602,8 @@ def compress_assets(ctx, profile, content, destination, print_input_and_identity
os.makedirs(output_file_dir, exist_ok=True) os.makedirs(output_file_dir, exist_ok=True)
command: str = content_configuration['command'] \ command: str = content_configuration['command'] \
.replace('{{input_file}}', f'\'{input_file}\'') \
.replace('{{output_file}}', f'\'{output_file}\'')
.replace('{input_file}', f'\'{input_file}\'') \
.replace('{output_file}', f'\'{output_file}\'')
tasks.append( tasks.append(
run_command_shell( run_command_shell(

Loading…
Cancel
Save