Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
testing
  • Loading branch information
nicolaa committed Jan 13, 2023
commit 8530790d1d899588024588f63173a3d6dc319b25
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ rvm:
- 2.4.9
- 2.5.8
- 2.6.6
- 3.2.0
gemfile:
- Gemfile
script:
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec_api_documentation/writers/writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def self.write(index, configuration)
end

def self.clear_docs(docs_dir)
if File.exists?(docs_dir)
if File.exist?(docs_dir)
FileUtils.rm_rf(docs_dir, :secure => true)
end
FileUtils.mkdir_p(docs_dir)
Expand Down