Fixes #7 - missing spawn-rx dependency (argh!)

This commit is contained in:
Eric Amodio
2016-09-20 11:34:40 -04:00
parent 20df7732be
commit c4b8637946
5 changed files with 13 additions and 317 deletions

View File

@@ -2,15 +2,14 @@
import * as fs from 'fs';
import * as path from 'path';
import * as tmp from 'tmp';
//import {spawnPromise} from 'spawn-rx';
const spawnRx = require('./spawn-rx');
import {spawnPromise} from 'spawn-rx';
export * from './gitEnrichment';
//export * from './enrichers/blameRegExpEnricher';
export * from './enrichers/blameParserEnricher';
function gitCommand(cwd: string, ...args) {
return spawnRx.spawnPromise('git', args, { cwd: cwd })
return spawnPromise('git', args, { cwd: cwd })
.then(s => {
console.log('[GitLens]', 'git', ...args);
return s;