Project
cortex
Description
The command creates a .github/workflows/Cortex.yml file even when run from a non-git directory, which is inconsistent with github status that correctly warns about not being in a git repo.
Error Message
Debug Logs
System Information
Windows 10/11
Version Tested: v0.1.1
Screenshots
No response
Steps to Reproduce
- Navigate to a non-git directory
- Run
cortex github install
Expected Behavior
Should error with "Not a git repository" similar to other git-related commands.
Actual Behavior
GitHub Actions workflow installed!
Location: .\.github\workflows\Cortex.yml
Additional Context
No response
Project
cortex
Description
The command creates a
.github/workflows/Cortex.ymlfile even when run from a non-git directory, which is inconsistent withgithub statusthat correctly warns about not being in a git repo.Error Message
Debug Logs
System Information
Screenshots
No response
Steps to Reproduce
cortex github installExpected Behavior
Should error with "Not a git repository" similar to other git-related commands.
Actual Behavior
Additional Context
No response