Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: git-cz commit repoPath #676

Merged
merged 26 commits into from Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b4b492b
fix: git-cz commit repoPath
shixy96 Oct 6, 2019
f322e2c
chore(deps): bump minimist from 1.2.0 to 1.2.3 (#721)
dependabot[bot] Apr 6, 2020
bd5a0ba
chore(deps): update dependency nyc to v15 (#704)
renovate[bot] Apr 6, 2020
7642f05
fix: add babel spread plugin
jimthedev Apr 7, 2020
9ae386c
fix: move to babel.config.js
jimthedev Apr 7, 2020
607d514
fix: update azure devops images
jimthedev Apr 7, 2020
09ade00
docs: add commitiquette (#727)
martinmcwhorter Apr 16, 2020
ce1042e
fix(deps): bump vulnerable packages
LinusU Apr 30, 2020
6ef8afa
feature: remove dependency on ShellJS (#729)
LinusU May 4, 2020
0f8644d
feat: remove dependency on ShellJS (#729)
LinusU May 4, 2020
a95fe72
fix(deps): update dependency cz-conventional-changelog to v3.2.0 (#657)
renovate[bot] May 5, 2020
a6adb3b
fix: restore commitizen.congifLoader.load to public API (#733)
LinusU May 5, 2020
be08907
fix: make cwd argument optional again (#735)
LinusU May 5, 2020
2954303
docs: add .czrc support to README (#739)
fsmaia Jul 6, 2020
367d709
fix(deps): upgrade lodash to 4.17.20 and update package lock file
Aug 20, 2020
a333b08
docs: add cz-format-extension (#758)
tyankatsu0105 Aug 21, 2020
2fbd7ea
docs: Update `commitlint` adapter link (#751)
chris-dura Aug 21, 2020
7a61389
docs: add adapter for jira (#748)
juliuscc Aug 21, 2020
c3a4542
chore(deps): update dependency nyc to v15.1.0 (#745)
renovate[bot] Aug 21, 2020
994f3b0
fix(cli): determine correct location of `COMMIT_EDITMSG` (#737)
wkunert Aug 21, 2020
33a77cc
chore(deps): update dependency babel-plugin-istanbul to v5.2.0 (#658)
renovate[bot] Aug 21, 2020
bf275d0
chore(deps): update dependency semver to v6.3.0 (#659)
renovate[bot] Aug 21, 2020
f7257f8
fix(deps): update dependency inquirer to v6.5.2 (#664)
renovate[bot] Aug 21, 2020
c3c533f
feat: use cz as binary name (#767)
felipecrs Aug 24, 2020
e223866
fix: git-cz commit repoPath
shixy96 Oct 6, 2019
23f9692
resolve conflicts
shixy96 Aug 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cli/strategies/git-cz.js
Expand Up @@ -9,7 +9,7 @@ import * as gitStrategy from './git';
// destructure for shorter apis
let { parse } = gitCzParser;

let { getPrompter, resolveAdapterPath } = adapter;
let { getPrompter, resolveAdapterPath, getGitRootPath } = adapter;
let { isClean } = staging;

export default gitCz;
Expand Down Expand Up @@ -56,7 +56,7 @@ function gitCz (rawGitArgs, environment, adapterConfig) {
let adapterPackageJson = getParsedPackageJsonFromPath(resolvedAdapterRootPath);
let cliPackageJson = getParsedPackageJsonFromPath(environment.cliPath);
console.log(`cz-cli@${cliPackageJson.version}, ${adapterPackageJson.name}@${adapterPackageJson.version}\n`);
commit(sh, inquirer, process.cwd(), prompter, {
commit(sh, inquirer, getGitRootPath(), prompter, {
args: parsedGitCzArgs,
disableAppendPaths: true,
emitData: true,
Expand Down
1 change: 1 addition & 0 deletions src/commitizen/adapter.js
Expand Up @@ -17,6 +17,7 @@ export {
resolveAdapterPath,
getYarnAddStringMappings,
generateYarnAddAdapterCommand,
getGitRootPath,
};

/**
Expand Down