Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tynanbe committed Mar 5, 2023
1 parent 4ab029e commit 326a3bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.1 - 2023-03-05

- Fixed some error messages in the `test` function.

## v0.2.0 - 2023-03-05

- Rad now requires Gleam v0.27 or later.
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "rad"
version = "0.2.0"
version = "0.2.1"
description = "A task runner for Gleam projects"
licences = ["Apache-2.0"]
target = "javascript"
Expand Down
4 changes: 2 additions & 2 deletions src/rad/workbook/standard.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,10 @@ pub fn test(input: CommandInput, task: Task(Result)) -> Result {
or: ["--eval=" <> script],
opt: options,
)
|> result.replace_error(snag.new("`javascript/deno` tests failed"))
|> result.replace_error(snag.new("`javascript` tests failed"))
}

_else -> snag.error("unsupported target/runtime `" <> target <> "`")
_else -> snag.error("unsupported target `" <> target <> "`")
}
}

Expand Down

0 comments on commit 326a3bd

Please sign in to comment.