Skip to content

Commit

Permalink
code refactoring for ember-console package
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgurzhii committed Jan 12, 2017
1 parent 7844081 commit 697f31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-console/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function assertPolyfill(test, message) {
if (!test) {
try {
// attempt to preserve the stack
throw new Error('assertion failed: ' + message);
throw new Error(`assertion failed: ${message}`);
} catch (error) {
setTimeout(() => {
throw error;
Expand Down

0 comments on commit 697f31a

Please sign in to comment.