Coder Social home page Coder Social logo

git-cc's Issues

If commit fails, user is not notified

We are using pre-commit. If the pre-commit fails, the user is not notified that the commit failed.

# git cc
Commit Type: 
  > feat
Scope (optional): 
Short Description: Add global data
Long Description (optional) [Press tab to submit] : 
Add configmap and mountpath for gobal data

Breaking Change [y/N]: Yes
Breaking Change Note: Configmap must exist first
  ERROR   exit status 1

Running with debug

DEBUG=true git cc
  DEBUG   Root directory of Git repository: /Users/nobody/source/repo
  DEBUG   Error reading config file: Config File ".git-cc.yaml" Not Found in "[/Users/nobody/source/repo]" 

Commit Type: 
  > feat
Scope (optional): 
Short Description: Add global data
Long Description (optional) [Press tab to submit] : 
Add configmap and mountpath for global data

Breaking Change [y/N]: Yes
Breaking Change Note: Configmap must exist first
  DEBUG   feat!: Add global data
          
          Add configmap and mountpath for global data
          
          BREAKING CHANGE: Configmap must exist first
  DEBUG   temp file: /var/folders/zp/824jh2j51r77fbvqzdbwh_pc0000gq/T/commitMessage1537965350
  ERROR   exit status 1

Trying the commit manually using the input file

git commit -F /var/folders/zp/824jh2j51r77fbvqzdbwh_pc0000gq/T/commitMessage1537965350
check for merge conflicts................................................Passed
check yaml...............................................................Passed
Helm Docs................................................................Failed
- hook id: helm-docs
- exit code: 1

Please install helm-docs to run the pre-commit hook! https://github.com/norwoodj/helm-docs#installation

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.