MCPcopy Index your code
hub / github.com/continuedev/continue / readConfigJs

Function readConfigJs

core/config/load.ts:754–762  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

752}
753
754function readConfigJs(): string | undefined {
755 const configJsPath = getConfigJsPath();
756
757 if (!fs.existsSync(configJsPath)) {
758 return undefined;
759 }
760
761 return fs.readFileSync(configJsPath, "utf8");
762}
763
764async function buildConfigTsandReadConfigJs(ide: IDE, ideType: IdeType) {
765 const configTsPath = getConfigTsPath();

Callers 1

Calls 1

getConfigJsPathFunction · 0.90

Tested by

no test coverage detected