piuccio / git-promise Goto Github PK
View Code? Open in Web Editor NEWSimple wrapper to run any git command and process it's output using promises.
License: MIT License
Simple wrapper to run any git command and process it's output using promises.
License: MIT License
Hello, I was working on getting git-control to work in El Capitan and saw you posted a fix to set a custom path for git. When running the new code normal git functions work as expected but when I issue a call for git flow I get '/path/to/git flow -d' is not a git command error 1
. If I run '/path/to/git flow -d'
in terminal it works fine. Any ideas on why normal git functions work fine but git flow does not?
When writing unit tests for one of my own personal projects, I ran into a consistent and reproducible issue that a failing git-promise call using the cwd option locks up the directory until the process is finally terminated.
I've successfully tested a fix locally but will perform a few additional tests before creating a pull request.
Background/Reasoning for Fix:
Although I don't anticipate it to be a common problem, this can be an issue for tests or modules dependent on making directory changes, such as cloning or removing, for cwd directories. In my situation, I've written unit tests using Mocha that use the before() and after() hooks to clone and clean up the directory once the module testing is completed. However, due to the lock issue, my other unit tests that use the same repository in the process fail because they cannot properly clone/clean up the cwd directories.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.