(rawName: string, deps: string[])
| 1219 | } |
| 1220 | |
| 1221 | function addPythonDep(rawName: string, deps: string[]): void { |
| 1222 | const name = rawName.trim().toLowerCase().replace(/_/g, "-"); |
| 1223 | if (!name || name === "python" || name.startsWith("#") || deps.includes(name)) return; |
| 1224 | deps.push(name); |
| 1225 | } |
| 1226 | |
| 1227 | async function goImportUsed(root: string, importStr: string): Promise<boolean> { |
| 1228 | try { |
no outgoing calls
no test coverage detected