Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: commitizen/cz-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.1
Choose a base ref
...
head repository: commitizen/cz-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.2
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 5, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be08907 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/configLoader/loader.js
4 changes: 2 additions & 2 deletions src/configLoader/loader.js
Original file line number Diff line number Diff line change
@@ -14,12 +14,12 @@ export default loader;
/**
* Get content of the configuration file
* @param {String} config - partial path to configuration file
* @param {String} cwd - directory path which will be joined with config argument
* @param {String} [cwd = process.cwd()] - directory path which will be joined with config argument
* @return {Object|undefined}
*/
function loader (configs, config, cwd) {
var content;
var directory = cwd;
var directory = cwd || process.cwd();

// If config option is given, attempt to load it
if (config) {