Skip to content

Commit

Permalink
fix: action codegen clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Equartey committed Apr 18, 2024
1 parent bf10e31 commit dbbb859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/composite_actions/fetch_backends/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:

- name: Undo any codegen changes from amplify pull
shell: bash
run: dart pub global run aft exec --include=${{ inputs.scope }} -- "if [ -d lib/models ]; then echo 'Directory exists'; exit 0; else echo 'Directory does not exist'; exit 1; fi" && git checkout lib/models/ || exit 0
run: dart pub global run aft exec --include=${{ inputs.scope }} -- [ -d "lib/models" ] && git checkout '**/lib/models/*' || exit 0

- name: Delete AWS profile
shell: bash
Expand Down

0 comments on commit dbbb859

Please sign in to comment.