Skip to content

Commit

Permalink
Remove unnecessary file (#2845)
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo authored Feb 27, 2024
1 parent e459c3f commit 94eb2f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload-api-docs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class FileUploader
end

def upload_docs
puts "Uploading to #{@bucket}"
Dir.glob("#{@docs_path}/**/*").each do |file|
next if File.directory?(file)

Expand Down Expand Up @@ -112,6 +113,7 @@ def generate_docs(options)
'--exclude', './spec',
'--readme', './README.md',
'-o', options[:docs_path]
File.delete(File.join(options[:docs_path], 'frames.html')) rescue nil
)
end

Expand Down

0 comments on commit 94eb2f5

Please sign in to comment.