Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging/GemspecGit throws an offense if the file is empty #5

Closed
utkarsh2102 opened this issue Jun 26, 2020 · 0 comments · Fixed by #6
Closed

Packaging/GemspecGit throws an offense if the file is empty #5

utkarsh2102 opened this issue Jun 26, 2020 · 0 comments · Fixed by #6
Assignees
Labels
bug Something isn't working false-negative This is a false-negative

Comments

@utkarsh2102
Copy link
Owner

utkarsh2102 commented Jun 26, 2020

Here's the log while running the Packaging/GemspecGit cop on GitLab's omnibus-gitlab library:

➜  omnibus-gitlab git:(master) ✗ rubocop -a              
Inspecting 659 files
..................................................................................
..................................................................................
..................................An error occurred while Packaging/GemspecGit cop was
inspecting /home/utkarsh/github/omnibus-gitlab/files/gitlab-cookbooks/gitlab/recipes/bootstrap_disable.rb.
To see the complete backtrace run rubocop -d.
..................................................................................
..................................................................................
..................................................................................
..................................................................................
..................................................................................
.....................................................

659 files inspected, no offenses detected

1 error occurred:
An error occurred while Packaging/GemspecGit cop was inspecting
/home/utkarsh/github/omnibus-gitlab/files/gitlab-cookbooks/gitlab/recipes/bootstrap_disable.rb.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop-hq/rubocop/issues

Mention the following information in the issue report:
0.82.0 (using Parser 2.7.1.4, running on ruby 2.7.1 x86_64-linux-gnu)

And files/gitlab-cookbooks/gitlab/recipes/bootstrap_disable.rb is an empty file with dummy comments.

@utkarsh2102 utkarsh2102 self-assigned this Jun 26, 2020
@utkarsh2102 utkarsh2102 added the bug Something isn't working label Jun 26, 2020
utkarsh2102 added a commit that referenced this issue Jun 26, 2020
Fixes: #5

Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
@utkarsh2102 utkarsh2102 added the false-negative This is a false-negative label Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working false-negative This is a false-negative
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant