Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/reading dir as file #62

Closed
wants to merge 2 commits into from
Closed

Conversation

love-bhardwaj
Copy link
Contributor

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Fixes issue reported in: #61

One tries to read the content of a file if it is a file and not a directory

Where should the reviewer start?

How should this be manually tested?

  1. create a directory for a project (can be empty) that contains .snyk mkdir -p ~/test/my.snykProject/project
  2. create an empty .snyk file in the project touch ~/test/my.snykProject/project/.snyk
  3. change into project directory cd ~/test/my.snykProject/project
  4. run snyk test

Any background context you want to provide?

What are the relevant tickets?

Screenshots

Additional questions

@CLAassistant
Copy link

CLAassistant commented Feb 25, 2022

CLA assistant check
All committers have signed the CLA.

@love-bhardwaj love-bhardwaj deleted the fix/reading-dir-as-file branch February 25, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants