Remove new keyword from error throwing

This commit is contained in:
Dominic Gannaway
2021-05-25 19:14:33 +01:00
committed by acywatson
parent a457a3850d
commit 146103ec02

View File

@ -12,7 +12,7 @@
// during build.
function formatProdErrorMessage(code) {
throw new Error(
throw Error(
`Minified Outline error #${code}; see codes.json for the full message or ` +
'use the non-minified dev environment for full errors and additional ' +
'helpful warnings.',