RealDevSquad / RealDevSquad/website-backend
validate command is successfully running even when there is no githubApi added
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue Description
validate-setup command is successfully running even when we are not providing githubApi field in it. It should only work where there is everything provided in local.js
I came to know about this issue while working on my previous task, some of test cases were failing to resolve them I take help from @lakshayman he told me that I have not added githubApi field in my local.js but still validate-setup script was working successfully.
Expected Behavior
validate-setup script should work when local.js have githubApi in local.js along with previous data.
Current Behavior
validate-setup script is working even when we have not provided githubApi in it.
Screenshots
Reproducibility
- This issue is reproducible
- This issue is not reproducible
Steps to Reproduce
Severity/Priority
- Critical
- High
- Medium
- Low
Additional Information
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the validate-setup command and the local.js configuration it reads. Reproduce the command with githubApi omitted, then compare it with a configuration that includes githubApi. Done means validation rejects the missing field and continues to pass when the required configuration is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100