Skip to content

Commit fc30bd5

Browse files
authored
Rpatel/fix import path (#1221)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent e422651 commit fc30bd5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/codegen/cli/commands/claude/config/claude_session_active_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Add the codegen CLI to the path so we can import from it
1515
script_dir = Path(__file__).parent
16-
codegen_cli_dir = script_dir.parent.parent.parent
16+
codegen_cli_dir = script_dir.parent.parent.parent.parent
1717
sys.path.insert(0, str(codegen_cli_dir))
1818

1919
try:

src/codegen/cli/commands/claude/config/claude_session_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Add the codegen CLI to the path so we can import from it
1515
script_dir = Path(__file__).parent
16-
codegen_cli_dir = script_dir.parent.parent.parent
16+
codegen_cli_dir = script_dir.parent.parent.parent.parent
1717
sys.path.insert(0, str(codegen_cli_dir))
1818

1919
try:

src/codegen/cli/commands/claude/config/claude_session_stop_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Add the codegen CLI to the path so we can import from it
1515
script_dir = Path(__file__).parent
16-
codegen_cli_dir = script_dir.parent.parent.parent
16+
codegen_cli_dir = script_dir.parent.parent.parent.parent
1717
sys.path.insert(0, str(codegen_cli_dir))
1818

1919
try:

0 commit comments

Comments
 (0)