Comparing version 3.6.0 to 3.7.0
@@ -52,3 +52,2 @@ 'use strict'; | ||
Command.prototype.execSync = function() { | ||
process.chdir(this.repo.path); | ||
return execSync(this.command, this._getExecOptions()).toString(); | ||
@@ -55,0 +54,0 @@ }; |
{ | ||
"name": "gitty", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "A Node.js wrapper for the Git CLI", | ||
@@ -8,8 +8,7 @@ "main": "index", | ||
"devDependencies": { | ||
"gh-pages": "^0.10.0", | ||
"ink-docstrap": "^1.1.4", | ||
"jsdoc": "^3.4.0", | ||
"mocha": "^1.21.4", | ||
"mocha": "^5.2.0", | ||
"pushover": "^1.3.6", | ||
"rimraf": "^2.2.8", | ||
"rimraf": "^2.6.3", | ||
"should": "^4.0.4" | ||
@@ -21,5 +20,4 @@ }, | ||
"scripts": { | ||
"test": "./node_modules/.bin/mocha test/* -R spec", | ||
"make-docs": "./node_modules/.bin/jsdoc index.js lib -r -R README.md -c .jsdoc.json --verbose -d ./jsdoc", | ||
"publish-docs": "npm run make-docs && node script/publishdoc.js" | ||
"test": "./node_modules/.bin/mocha test/* -R spec --exit", | ||
"generate-docs": "./node_modules/.bin/jsdoc index.js lib -r -R README.md -c .jsdoc.json --verbose -d ./public" | ||
}, | ||
@@ -37,4 +35,3 @@ "repository": { | ||
"name": "Gordon Hall", | ||
"email": "gordon@gordonwritescode.com", | ||
"url": "https://gordonwritescode.com" | ||
"url": "https://gumdrop.life" | ||
}, | ||
@@ -45,3 +42,3 @@ "contributors": [ | ||
"url": "https://github.com/annagray" | ||
}, | ||
}, | ||
{ | ||
@@ -48,0 +45,0 @@ "name": "Christopher Meyering", |
# Gitty | ||
[![Build Status](https://travis-ci.org/gordonwritescode/gitty.svg)](https://travis-ci.org/gordonwritescode/gitty) | ||
[![Build Status](https://travis-ci.org/bookchin/gitty.svg)](https://travis-ci.org/bookchin/gitty) | ||
@@ -5,0 +5,0 @@ Gitty is a Node.js wrapper for Git. It's syntax resembles the Git command line |
@@ -571,3 +571,3 @@ 'use strict'; | ||
repo1.checkout('test', function(err) { | ||
fs.writeFile('cheRRy.txt', 'cherrypickme', function(err) { | ||
fs.writeFile(repo1.path + '/cheRRy.txt', 'cherrypickme', function(err) { | ||
repo1.add(['cheRRy.txt'], function(err) { | ||
@@ -598,3 +598,3 @@ repo1.commit('cheRRypickme', function(err) { | ||
repo2.checkoutSync('test'); | ||
fs.writeFileSync('cheRRy.txt', 'cherrypickme'); | ||
fs.writeFileSync(repo2.path + '/cheRRy.txt', 'cherrypickme'); | ||
repo2.addSync(['cheRRy.txt']); | ||
@@ -668,7 +668,7 @@ repo2.commitSync('cherrypickme'); | ||
fs.writeFileSync('Show.txt', 'showTest rev 1'); | ||
fs.writeFileSync(repo2.path + '/Show.txt', 'showTest rev 1'); | ||
repo2.addSync(['Show.txt']); | ||
repo2.commitSync('showTest'); | ||
fs.writeFileSync('Show.txt', 'showTest rev 2'); | ||
fs.writeFileSync(repo2.path + '/Show.txt', 'showTest rev 2'); | ||
repo2.addSync(['Show.txt']); | ||
@@ -675,0 +675,0 @@ repo2.commitSync('showTest change'); |
@@ -15,2 +15,3 @@ 'use strict'; | ||
if (fs.existsSync(HOME + '/.gitty')) { | ||
console.log(HOME) | ||
rimraf.sync(HOME + '/.gitty'); | ||
@@ -17,0 +18,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77144
6