You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to use the -t parameter (even with the default template test-report.hbs) after npm install snyk-to-html -g snyk-to-html cannot locate supporting hbs files.
Consider this example:
this produces an error because the supporting partial hbs files are not located relative to the working directory, so in order to avoid this error one must supply the entire path of where the application was installed, like:
which is very awkward and not friendly for usage in a pipeline.
It would be nice if the application looked into the template directory relative to its installed location, since that appears to be the case when you reference the template name with -t without the full path (it seems to be able to find that, but not its supporting hbs files its using)
The text was updated successfully, but these errors were encountered:
when trying to use the
-t
parameter (even with the default template test-report.hbs) afternpm install snyk-to-html -g
snyk-to-html cannot locate supporting hbs files.Consider this example:
this produces an error because the supporting partial hbs files are not located relative to the working directory, so in order to avoid this error one must supply the entire path of where the application was installed, like:
which is very awkward and not friendly for usage in a pipeline.
It would be nice if the application looked into the template directory relative to its installed location, since that appears to be the case when you reference the template name with
-t
without the full path (it seems to be able to find that, but not its supporting hbs files its using)The text was updated successfully, but these errors were encountered: