File tree Expand file tree Collapse file tree 11 files changed +13
-14
lines changed
Expand file tree Collapse file tree 11 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 11import minimist from 'minimist' ;
22
3- import { isString , isArray } from '../../../ common/util' ;
3+ import { isString , isArray } from '../../common/util' ;
44
55export {
66 parse
Original file line number Diff line number Diff line change 11import minimist from 'minimist' ;
22
3- import { isString , isArray } from '../../../ common/util' ;
3+ import { isString , isArray } from '../../common/util' ;
44
55export {
66 parse
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from 'fs';
22import path from 'path' ;
33import sh from 'shelljs' ;
44import inquirer from 'inquirer' ;
5- import { getParsedPackageJsonFromPath } from '../../../ common/util' ;
5+ import { getParsedPackageJsonFromPath } from '../../common/util' ;
66import { gitCz as gitCzParser , commitizen as commitizenParser } from '../parsers' ;
77import { commit , staging , adapter } from '../../commitizen' ;
88import { addPath } from '../../git' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import path from 'path';
22import fs from 'fs' ;
33import findNodeModules from 'find-node-modules' ;
44
5- import { isFunction } from '../../ common/util' ;
5+ import { isFunction } from '../common/util' ;
66
77export {
88 addPathToAdapterConfig ,
Original file line number Diff line number Diff line change 11import path from 'path' ;
22import * as configLoader from './configLoader' ;
3- import { executeShellCommand } from '../../ common/util' ;
3+ import { executeShellCommand } from '../common/util' ;
44import * as adapter from './adapter' ;
55
66let {
Original file line number Diff line number Diff line change 11import git from 'gulp-git' ;
2- import { isString } from '../../ common/util' ;
2+ import { isString } from '../common/util' ;
33
44export { isClean } ;
55
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export {
1616 */
1717function executeShellCommand ( sh , path , installCommand ) {
1818 sh . cd ( path ) ;
19- sh . exec ( installCommand ) ;
19+ sh . exec ( installCommand ) ;
2020}
2121
2222/**
@@ -53,7 +53,7 @@ function isArray(arr) {
5353}
5454
5555/**
56- * Test if the passed argument is a function
56+ * Test if the passed argument is a function
5757 */
5858function isFunction ( functionToCheck ) {
5959 if ( typeof functionToCheck === "undefined" )
@@ -63,7 +63,7 @@ function isFunction(functionToCheck) {
6363 return false ;
6464 } else {
6565 var getType = { } ;
66- return functionToCheck && getType . toString . call ( functionToCheck ) === '[object Function]' ;
66+ return functionToCheck && getType . toString . call ( functionToCheck ) === '[object Function]' ;
6767 }
6868}
6969
@@ -80,4 +80,3 @@ function isString(str) {
8080 return Object . prototype . toString . call ( str ) == '[object String]' ;
8181 }
8282}
83-
Original file line number Diff line number Diff line change 11import git from 'gulp-git' ;
22import gulp from 'gulp' ;
33import dedent from 'dedent' ;
4- import { isString } from '../../ common/util' ;
4+ import { isString } from '../common/util' ;
55
66export { commit } ;
77
Original file line number Diff line number Diff line change 11import * as repo from './tools/repo' ;
22import * as clean from './tools/clean' ;
33import * as files from './tools/files' ;
4- import * as util from '../common/util' ;
4+ import * as util from '../src/ common/util' ;
55import { config as userConfig } from './config' ;
66import * as sh from 'shelljs' ; // local instance
77import _ from 'lodash' ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import fs from 'fs';
77// in the short term
88import { adapter , init as commitizenInit } from '../../src/commitizen' ;
99
10- import { isFunction } from '../../common/util' ;
10+ import { isFunction } from '../../src/ common/util' ;
1111
1212// Bootstrap our tester
1313import { bootstrap } from '../tester' ;
You can’t perform that action at this time.
0 commit comments