Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Aug 28, 2023
1 parent 2169d80 commit d6c9b1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,11 @@ jobs:
# - name: Clean up previous code coverage report
# run: bundle exec fastlane cleanUpOutput

- name: \[Workaround\] Running Danger SwiftFormat from non-root directory
- name: __Workaround__ Running Danger SwiftFormat from non-root directory
run: |
gem which danger
gem which danger-swiftformat
# Insert a map operator in the "find_swift_files" method to remove "sample/ios/" prefix from all files.
sed -i '' "s/.uniq/.uniq.map { |file| file.partition('sample\/ios\/').last }/g" '/Users/luongvo/.rvm/gems/ruby-3.0.0/gems/danger-swiftformat-0.8.1/lib/swiftformat/plugin.rb'
sed -i '' "s/.uniq/.uniq.map { |file| file.partition('sample\/ios\/').last }/g" '/usr/local/lib/ruby/gems/3.0.0/gems/danger-swiftformat-0.8.1/lib/swiftformat/plugin.rb'
- name: Run Danger to wrap up the review
env:
Expand Down

0 comments on commit d6c9b1d

Please sign in to comment.