Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The line number from the sourcemap is one value higher #3689

Closed
szkiba opened this issue Apr 15, 2024 · 0 comments
Closed

The line number from the sourcemap is one value higher #3689

szkiba opened this issue Apr 15, 2024 · 0 comments
Assignees

Comments

@szkiba
Copy link
Contributor

szkiba commented Apr 15, 2024

Brief summary

In the attached example, the error reported line number is 14 instead of 13.
k6smesbuild.zip

k6 version

k6 v0.50.0 (commit/011cccf9f1, go1.21.2, linux/amd64)

OS

Ununtu Linux

Docker version and image (if applicable)

No response

Steps to reproduce the problem

run script.js

Expected behaviour

report line number 13 instead of 14

Actual behaviour

line number 14 reported as source of error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants