Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tools: use template literal in error message
  • Loading branch information
Tim Chon committed Oct 6, 2017
commit edd340d5af8e4319663c02cc3d95cc411a0d79b0
2 changes: 1 addition & 1 deletion tools/doc/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ function next(er, input) {
break;

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