File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def install_command(
6767 console = Console ()
6868
6969 # Step 1: Create ~/.cursor/rules/ directory if it doesn't exist
70- rules_dir = Path .home () / ".cursor" / "rules"
70+ rules_dir = Path .cwd () / ".cursor" / "rules"
7171 try :
7272 print_info (f"Checking if { rules_dir } exists..." )
7373 if not rules_dir .exists ():
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def get_current_version(self) -> str:
7272 except ImportError :
7373 # If that fails, try to get it from the cursor-utils.mdc file
7474 try :
75- rules_dir = Path .home () / ".cursor" / "rules"
75+ rules_dir = Path .cwd () / ".cursor" / "rules"
7676 mdc_file = rules_dir / "cursor-utils.mdc"
7777
7878 if not mdc_file .exists ():
You can’t perform that action at this time.
0 commit comments