This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Commit 887e882
committed
chakrashim: Fix Error.captureStackTrace
Error.captureStackTrace did not convert the type of line and column
numbers to numbers while creating the v8 capture objects. This breaks
modules which assumes number types. Changed to call parseInt if line
and column numbers are defined
PR-URL: #483
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>1 parent 76baebd commit 887e882
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments