Skip to content

Commit

Permalink
fix: ensure the output directory doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Nov 1, 2024
1 parent 8f3347a commit e492046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kurtosis_package/keys.star
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def generate_all_keys(plan, context, keys):
def generate_keys(plan, egnkey_service_name, key_type, artifact_name):
output_dir = "/_output"

cmd = "set -e ; rm -rf {output} && mkdir -p {output} && \
cmd = "set -e ; rm -rf {output} && \
egnkey generate --key-type {type} --num-keys 1 --output-dir {output} ; \
cat {output}/password.txt | tr -d '\n'".format(
output=output_dir, type=key_type
Expand Down

0 comments on commit e492046

Please sign in to comment.