Skip to content

Conversation

@mkonda
Copy link
Collaborator

@mkonda mkonda commented Oct 13, 2018

…ngs.

rootpath = @trigger.path
@result=runsystem(true, "bandit", "-f", "json", "-r", "#{rootpath}")
context = SecureRandom.uuid
@tmppath = "/tmp/#{context}/"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use tmpdir for multi-platform support? Also, might be nice to allow the user to override the location.
Also, are all users allows to write there?

@omerlh
Copy link
Collaborator

omerlh commented Oct 14, 2018

What about tests?

@stale
Copy link

stale bot commented Dec 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants