niallo / gitane Goto Github PK
View Code? Open in Web Editor NEWEasy Node.JS Git wrapper with support for arbitrary SSH keys
License: MIT License
Easy Node.JS Git wrapper with support for arbitrary SSH keys
License: MIT License
I'm seeing the error process exited with status -4058
when trying to run a sample app and/or the mocha tests. Saw a couple commits in the project history about adding Windows support so I assumed that this project supports Windows, or am I just doing something funky?
$ mocha
child_process: customFds option is deprecated, use stdio instead.
gitane
#run
1) should run the command with correct GIT_SSH environment
2) should run the command in the correct baseDir
√ should correctly handle failed commands
#writeFiles
√ should create a random file if none specified
√ should use passed-in file if specified
3) should create an executable script and an 0600-mode key by default
4) should create an executable script and honour keyMode param
5) should support event emitter parameter for real-time updates
3 passing (62ms)
5 failing
1) gitane #run should run the command with correct GIT_SSH environment:
Uncaught AssertionError: expected 'process exited with status -4058' to be null
2) gitane #run should run the command in the correct baseDir:
Uncaught AssertionError: expected 'process exited with status -4058' to be null
3) gitane #writeFiles should create an executable script and an 0600-mode key by default:
Uncaught AssertionError: expected '100666' to deeply equal '100755'
4) gitane #writeFiles should create an executable script and honour keyMode param:
Uncaught AssertionError: expected '100666' to deeply equal '100755'
5) gitane #writeFiles should support event emitter parameter for real-time updates:
Uncaught AssertionError: expected 'process exited with status -4058' to be null
My Setup:
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.