Skip to content

Commit 84c9c65

Browse files
improved formatting
1 parent 5145f1c commit 84c9c65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/pythonmonkey/builtin_modules/console.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ class Console
9999
? `Trace: ${format(...args)}\n`
100100
: 'Trace\n';
101101

102-
let stacks = new Error().stack.split('\n')
102+
let stacks = new Error().stack
103+
.split('\n')
103104
stacks.shift(); // skip the first line which is this.trace itself
104105
stacks = stacks
105106
.filter(s => s !== '') // filter out empty lines

0 commit comments

Comments
 (0)