Skip to content

Commit

Permalink
Keep format compatible with old version
Browse files Browse the repository at this point in the history
  • Loading branch information
i404788 committed Jun 8, 2019
1 parent fb4e3e6 commit 0093b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/postamble.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,10 @@ function abort(what) {
EXITSTATUS = 1;

#if ASSERTIONS == 0
throw 'abort(' + what + '). Build with -s ASSERTIONS=1 for more info.';
throw 'abort("' + what + '"). Build with -s ASSERTIONS=1 for more info.';
#else
var extra = '';
var output = 'abort(' + what + ') at ' + stackTrace() + extra;
var output = 'abort("' + what + '") at ' + stackTrace() + extra;
if (abortDecorators) {
abortDecorators.forEach(function(decorator) {
output = decorator(output, what);
Expand Down

0 comments on commit 0093b82

Please sign in to comment.