mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
src: replace usage of deprecated GetEndColumn
PR-URL: https://github.com/nodejs/node/pull/5159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
d45045f318
commit
3d7fd9aa22
@ -1470,8 +1470,8 @@ void AppendExceptionLine(Environment* env,
|
||||
// sourceline to 78 characters, and we end up not providing very much
|
||||
// useful debugging info to the user if we remove 62 characters.
|
||||
|
||||
int start = message->GetStartColumn();
|
||||
int end = message->GetEndColumn();
|
||||
int start = message->GetStartColumn(env->context()).FromJust();
|
||||
int end = message->GetEndColumn(env->context()).FromJust();
|
||||
|
||||
char arrow[1024];
|
||||
int max_off = sizeof(arrow) - 2;
|
||||
|
Loading…
Reference in New Issue
Block a user