Permalink
Browse files

tools: use template literal in error message

PR-URL: #15846
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information...
Tim Chon authored and targos committed Oct 6, 2017
1 parent f1c30aa commit 917ccc94b815c2ba1cfda79c6e1b73967f505bf0
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/doc/generate.js
View
@@ -89,6 +89,6 @@ function next(er, input) {
break;
default:
throw new Error('Invalid format: ' + format);
throw new Error(`Invalid format: ${format}`);
}
}

0 comments on commit 917ccc9

Please sign in to comment.