Skip to content

Commit

Permalink
chore: fixed the trasnform script for linux env
Browse files Browse the repository at this point in the history
  • Loading branch information
Saup21 committed Jun 25, 2024
1 parent 42559c4 commit b757bee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/transform-broken-keys.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

set -e
cat $PWD/client/pacts/terraform-client-pactflow-application-saas.json | grep $.header
sed -i.bak -E "s/\$\.header\./\$\.headers\./g" "$PWD/client/pacts/terraform-client-pactflow-application-saas.json"
cat $PWD/client/pacts/terraform-client-pactflow-application-saas.json | grep $.header

sed -i -E 's/\$\.header\./\$\.headers\./g' "$PWD/client/pacts/terraform-client-pactflow-application-saas.json"

echo "Done..."

0 comments on commit b757bee

Please sign in to comment.