Skip to content

Commit

Permalink
Fix for custom-config (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdholtz authored Feb 15, 2022
1 parent 7fabf92 commit a3c5535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/build_and_check_circle_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ steps:
circleci >/dev/null 2>&1 || { echo >&2 "No Circle CI CLI. Either pre-install or update swissknife params"; exit 1; }
fi
circleci config pack << parameters.directory-of-src >> > .circleci/config.yml
circleci config pack << parameters.directory-of-src >> > << parameters.custom-config >>
circleci config validate << parameters.custom-config >>
- when:
condition: << parameters.fail-if-dirty >>
steps:
- fail_if_dirty:
pattern: .*circleci/config.yml
pattern: << parameters.custom-config >>
invert-pattern: false
custom-error-message: << parameters.custom-error-message >>
print-modified-files: true
Expand Down

0 comments on commit a3c5535

Please sign in to comment.