Code Monkey home page Code Monkey logo

rubocop-changed's People

Contributors

dukaev avatar rubyconvict avatar sh41 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sh41 rubyconvict

rubocop-changed's Issues

Error when RUBOCOP_CHANGED_BRANCH_NAME not set

I have this error when RUBOCOP_CHANGED_BRANCH_NAME is not set, but it seems like it should not be required (https://github.com/dukaev/rubocop-changed?tab=readme-ov-file#additionally). It looks like the default base branch checking command is not working. I have the same issue on my Mac and on Ubuntu in Github Action. I googled for an answer and found some idea to run git gc, but I run this on a very "young" repo, so it looks like some nonsense. Perhaps, it's related to git version. Maybe it would be a good time to update the default command to something like: git remote show origin | sed -n '/HEAD branch/s/.*: //p' - I know, not perfect. Optimally, readme could be updated: https://github.com/dukaev/rubocop-changed/blob/51b5b8850be41ec505e109733f3d5d85d7e754c6/README.md#additionally.

$ bundle exec rubocop --require rubocop-changed
Unknown error. Please, create issue on https://github.com/dukaev/rubocop-changed/issues.
Command:
git symbolic-ref refs/remotes/origin/HEAD
Output:
fatal: ref refs/remotes/origin/HEAD is not a symbolic ref

$ cat .git/refs/remotes/origin/HEAD
cat: .git/refs/remotes/origin/HEAD: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.