fastruby / fastruby/rubocop-ombu_labs

Autocorrect is not working properly: It replaces the entire line instead of the "ombulabs" section

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I was running `rubocop -a` in the fastruby.io project and I think this project unexpectedly broke my code... 😢

# Expected

I would have expected it to replace "ops@ombulabs.com" with "ops@OmbuLabs.com"

# Actual

![Screen Shot 2020-10-17 at 9 37 59 PM](https://user-images.githubusercontent.com/17584/96356792-70ac3a80-10c1-11eb-9096-9f9b60503b95.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by running `rubocop -a` in the fastruby.io project on the branding case described in the report. Compare the expected replacement of "ops@ombulabs.com" with "ops@OmbuLabs.com" against the actual whole-line replacement; done means autocorrect changes only the intended "ombulabs" section.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.