UNPKG

agentsqripts

Version:

Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems

11 lines (9 loc) 294 B
/** * @file Extract await call information * @description Single responsibility: Parse await call from code line */ function extractAwaitCall(line) { const match = line.match(/await\s+(\w+(?:\.\w+)*(?:\([^)]*\))?)/); return match ? match[1] : null; } module.exports = extractAwaitCall;