Skip to content

Commit

Permalink
chore: debugging the pact file transform script
Browse files Browse the repository at this point in the history
  • Loading branch information
Saup21 committed Jun 25, 2024
1 parent a728e20 commit 8c734a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/transform-broken-keys.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

set -e

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
cat $PWD/client/pacts/terraform-client-pactflow-application-saas.json | grep $.header

echo "Done..."

0 comments on commit 8c734a1

Please sign in to comment.