MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / executableLines

Function executableLines

apps/kimi-code/scripts/native/check-bundle.mjs:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35const errors = [];
36
37function executableLines() {
38 return text
39 .split('\n')
40 .map((line) => line.trim())
41 .filter((line) => {
42 if (line.length === 0) return false;
43 if (line.startsWith('*') || line.startsWith('//') || line.startsWith('/*')) return false;
44 return true;
45 });
46}
47
48for (const line of executableLines()) {
49 for (const match of line.matchAll(/\brequire\(\s*["']([^"']+)["']\s*\)/g)) {

Callers 1

check-bundle.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected