Skip to content

Commit 2d4fc71

Browse files
committed
fix: Rename bmignore_path to gitignore_path for clarity
The variable was checking for .gitignore but was incorrectly named bmignore_path, causing confusion. This fixes the variable name to accurately reflect what's being checked. Addresses code review feedback on PR #362
1 parent e44f46f commit 2d4fc71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/basic_memory/cli/commands/cloud/upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def _get_files_to_upload(
115115
ignore_patterns = load_gitignore_patterns(directory, use_gitignore=use_gitignore)
116116

117117
if verbose:
118-
bmignore_path = directory / ".gitignore"
119-
gitignore_exists = bmignore_path.exists() and use_gitignore
118+
gitignore_path = directory / ".gitignore"
119+
gitignore_exists = gitignore_path.exists() and use_gitignore
120120
print(f"\nScanning directory: {directory}")
121121
print(f"Using .bmignore: Yes")
122122
print(f"Using .gitignore: {'Yes' if gitignore_exists else 'No'}")

0 commit comments

Comments
 (0)