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

Use template literals #51

Closed
alfredodeza opened this issue Sep 29, 2020 · 1 comment
Closed

Use template literals #51

alfredodeza opened this issue Sep 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@alfredodeza
Copy link
Contributor

To prevent problems like this one:

  } else {
    prefix = "The container image contains software with a vulnerability: ";
  }
  return prefix + "(" + v.package + " type=" + v.package_type + ")";

See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

@kzantow
Copy link
Contributor

kzantow commented Mar 9, 2022

This is superseded by #105

@kzantow kzantow closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants