Skip to content

Commit 2c88a06

Browse files
committed
fix: resolve lambda validation scoping error in init command
Fixes #10 - Lambda functions in init.py were failing with "cannot access free variable 're'" error due to duplicate import statements creating scope ambiguity. Changes: - Remove redundant 'import re' statement from line 263 - Extract validation logic into named functions for better maintainability - Apply linting fixes and code formatting The bug occurred because Python's closure mechanism couldn't determine which 're' module to capture when lambdas were defined across different scopes. Removing the duplicate import resolves this ambiguity.
1 parent 5c0a497 commit 2c88a06

File tree

1 file changed

+452
-391
lines changed
  • source/claude_code_with_bedrock/cli/commands

1 file changed

+452
-391
lines changed

0 commit comments

Comments
 (0)