Skip to content

Commit 426e55c

Browse files
committed
fix(formulas): use remainder of path after formula/
* Not just the filename after the last forward-slash
1 parent 77d4587 commit 426e55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssf/config/formulas.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ prepare-git-branch-for-{{ formula }}:
5353
{#- Replace 'formula/' with the actual name of the formula #}
5454
{%- set dest_file = '{0}/{1}'.format(
5555
semrel_file_specs.alt_semrel_formula | d(semrel_formula),
56-
dest_file.split('/')[-1],
56+
dest_file.split('/', 1)[1],
5757
) %}
5858
{%- elif dest_file.startswith('inspec/') %}
5959
{%- set inspec_tests_path_prefix = suite.verifier.inspec_tests_path_prefix %}

0 commit comments

Comments
 (0)