Skip to content

Commit

Permalink
Merge pull request #1 from MStoykov/updateK6Path
Browse files Browse the repository at this point in the history
Update k6 module path that was changed in v0.32.0
  • Loading branch information
avitalique authored May 13, 2021
2 parents cf7cf8b + 94faacc commit c33e9df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# xk6-file
[k6](https://github.com/loadimpact/k6) extension for writing files, implemented using the
[k6](https://go.k6.io/k6) extension for writing files, implemented using the
[xk6](https://github.com/k6io/xk6) system.

## Build
```shell
xk6 build v0.31.1 --with github.com/avitalique/xk6-file
xk6 build --with github.com/avitalique/xk6-file@latest
```

## Example
Expand All @@ -17,4 +17,4 @@ export default function () {
file.writeString(filepath, 'New file. First line.\n');
file.appendString(filepath, `Second line. VU: ${__VU} - ITER: ${__ITER}`);
}
```
```
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package file
import (
"os"

"github.com/loadimpact/k6/js/modules"
"go.k6.io/k6/js/modules"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/avitalique/xk6-file

go 1.16

require github.com/loadimpact/k6 v0.31.1
require go.k6.io/k6 v0.32.0

0 comments on commit c33e9df

Please sign in to comment.