MCPcopy Create free account
hub / github.com/ProNextJS/declarative-routing / hasConfig

Function hasConfig

src/config.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35export function hasConfig() {
36 return fs.existsSync(path.resolve(`./${CONFIG}`));
37}
38
39export function writeConfig(config: Config) {
40 const cfg = ConfigSchema.safeParse(config);

Callers 2

init.tsFile · 0.90
build.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected