MCPcopy
hub / github.com/bower/bower / defaultConfig

Function defaultConfig

lib/config.js:8–12  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

6var current;
7
8function defaultConfig(config) {
9 config = config || {};
10
11 return readCachedConfig(config.cwd || process.cwd(), config);
12}
13
14function readCachedConfig(cwd, overwrites) {
15 current = bowerConfig.create(cwd).load(overwrites);

Callers 15

uninstallFunction · 0.85
initFunction · 0.85
registerFunction · 0.85
listFunction · 0.85
infoFunction · 0.85
linkSelfFunction · 0.85
linkToFunction · 0.85
installFunction · 0.85
unregisterFunction · 0.85
versionFunction · 0.85
pruneFunction · 0.85
homeFunction · 0.85

Calls 1

readCachedConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…