Coder Social home page Coder Social logo

danielschaffer / git-hook-email-selector Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 17 KB

A pre-commit git hook that automatically prompts you to configure the local repository with an email from a preconfigured list.

JavaScript 0.81% TypeScript 99.19%
authoring email git git-hooks hooks pre-commit

git-hook-email-selector's People

Contributors

danielschaffer avatar

Stargazers

 avatar  avatar

Watchers

 avatar

git-hook-email-selector's Issues

Installer has pathing issues on Ubuntu

Hello,
Really like what you did with this hook, exactly what I'm looking for, but I'm having some issues with the installer, here's the trace:

 pavital@pubuntu:~$ install-git-hook-email-selector                                   
internal/fs/utils.js:230
    throw err;
    ^

Error: ENOENT: no such file or directory, mkdir '/home/pavital/~/.git-hooks'
    at Object.mkdirSync (fs.js:914:3)
    at ensurePath (/usr/local/lib/node_modules/git-hook-email-selector/src/installer.js:21:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/git-hook-email-selector/src/installer.js:41:1)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/git-hook-email-selector/bin/install-git-hook-email-selector.js:4:1) {
  errno: -2,
  syscall: 'mkdir',
  code: 'ENOENT',
  path: '/home/pavital/~/.git-hooks'
}

Seems to me that the path is the issue. I might give a looksie to find out why if I find some time to do so, but if you handle it faster than me, I wouldn't be mad :)

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.