snyk / snyk-gradle-plugin

Basic Snyk CLI plugin for Gradle support
Other
25 stars 19 forks source link

fix: execute commands relative to wrapper #139

Closed lili2311 closed 4 years ago

lili2311 commented 4 years ago

What does this PR do?

Execute the commands relative to the wrapper to fix a bug with --all-projects where if the command is executed in a dir above a wrapper then gradle fails to execute even if we successfully locate the wrapper.