MCPcopy Create free account
hub / github.com/SoCreate/angular-playground / loadConfig

Function loadConfig

projects/cli/src/configure.ts:164–171  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

162}
163
164function loadConfig(path: string) {
165 const configPath = resolvePath(path);
166 if (!existsSync(configPath)) {
167 throw new Error(`Failed to load config file ${configPath}`);
168 }
169
170 return require(configPath.replace(/.json$/, ''));
171}
172
173function negate(value: boolean) {
174 if (value === undefined) {

Callers 1

applyConfigurationFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected