chore: renamed open_project_manager to manager and added aux files to hints
This commit is contained in:
1 parent
8d913ce979
commit
3a50bf9375
3 files changed
+3
-5
No files matched your search
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Start from the current directory
|
||||
DIR="$(pwd)"
|
||||
|
||||
# Walk up until we find a marker or reach root
|
||||
while [[ ! -f "$DIR/CMakeLists.txt" && \
|
||||
! -f "$DIR/package.json" && \
|
||||
! -f "$DIR/venv" && \
|
||||
@@ -11,7 +9,6 @@ while [[ ! -f "$DIR/CMakeLists.txt" && \
|
||||
DIR="$(dirname "$DIR")"
|
||||
done
|
||||
|
||||
# Check if root was reached without finding anything
|
||||
if [[ "$DIR" == "/" ]]; then
|
||||
echo "❌ Project root not found."
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user