MCPcopy
hub / github.com/streamich/git-cz / getConfig

Function getConfig

lib/getConfig.js:47–61  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

45};
46
47const getConfig = (root) => {
48 const overrides = findOverrides(root);
49
50 if (typeof overrides !== 'object') {
51 signale.fatal(new TypeError('Expected changelog config to be an object.'));
52
53 // eslint-disable-next-line no-process-exit
54 process.exit(1);
55 }
56
57 return {
58 ...defaults,
59 ...overrides
60 };
61};
62
63module.exports = getConfig;

Callers 1

createStateFunction · 0.85

Calls 1

findOverridesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…