Skip to content

Commit

Permalink
tools: use template literal in error message
Browse files Browse the repository at this point in the history
PR-URL: #15846
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Tim Chon authored and MylesBorins committed Nov 28, 2017
1 parent 65c5ff8 commit 5b5b5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/doc/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ function next(er, input) {
break;

default:
throw new Error('Invalid format: ' + format);
throw new Error(`Invalid format: ${format}`);
}
}

0 comments on commit 5b5b5c0

Please sign in to comment.