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

Using . for replace should work #1

Closed
mstoykov opened this issue Nov 30, 2020 · 1 comment · Fixed by #5
Closed

Using . for replace should work #1

mstoykov opened this issue Nov 30, 2020 · 1 comment · Fixed by #5

Comments

@mstoykov
Copy link
Contributor

Running
xk6 build --with something/else=.

inside the directory of an extension should work instead you will get

go mod: -replace=github.com/mstoykov/xk6-counter=.: invalid new path: malformed import path ".": invalid path element "."
@imiric
Copy link
Contributor

imiric commented Nov 30, 2020

FWIW xk6 build --with something/else="$PWD" works, but agreed that . should work as well.

imiric pushed a commit that referenced this issue Dec 1, 2020
@imiric imiric closed this as completed in #5 Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants