Skip to content

Commit

Permalink
chore: fix rubocop lint offense
Browse files Browse the repository at this point in the history
Signed-off-by: Sonu Saha <[email protected]>
  • Loading branch information
ahasunos committed Sep 6, 2024
1 parent 476df28 commit 4829a79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ task default: %i[spec rubocop]
require_relative 'lib/nse_data'

namespace :docs do
desc "Update README with dynamically defined methods"
desc 'Update README with dynamically defined methods'
task :update_readme do
# Ensure the API methods are defined
NseData.define_api_methods
Expand Down Expand Up @@ -56,15 +56,14 @@ namespace :docs do
updated_content = readme_content.sub(methods_section, new_methods_section)
File.write(readme_path, updated_content)

puts "README updated with the following methods:"
puts 'README updated with the following methods:'
methods.each { |method| puts "- #{method}" }
else
puts "Could not find markers to update in README.md"
puts 'Could not find markers to update in README.md'
end
end
end


# Usage:
# 1. `rake spec` - Runs the RSpec tests
# 2. `rake rubocop` - Runs RuboCop linter for code quality checks
Expand Down

0 comments on commit 4829a79

Please sign in to comment.