Skip to content

Commit 79ab124

Browse files
committed
Fix: echo command does not print spaces between words #454
1 parent 810da9d commit 79ab124

6 files changed

Lines changed: 47 additions & 52 deletions

File tree

.buildnumber

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13
1+
14

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## CHANGELOG
22

3+
### v0.11.1 (2024-10-16)
4+
5+
* Fix: echo command does not print spaces between words #454
6+
37
### v0.11.0 (2024-10-04)
48

59
* Enhancement: Runtime - \[Breaking Change\] Renamed command args to context.

Cargo.lock

Lines changed: 38 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

duckscript_cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckscript_cli"
3-
version = "0.11.0"
3+
version = "0.11.1"
44
authors = ["Sagie Gur-Ari <sagiegurari@gmail.com>"]
55
description = "The duckscript command line executable."
66
license = "Apache-2.0"
@@ -28,7 +28,7 @@ path = "src/main.rs"
2828

2929
[dependencies]
3030
duckscript = { version = "^0.10.0", path = "../duckscript" }
31-
duckscriptsdk = { version = "^0.11.0", path = "../duckscript_sdk", default-features = false }
31+
duckscriptsdk = { version = "^0.11.1", path = "../duckscript_sdk", default-features = false }
3232

3333
[features]
3434
tls-rustls = ["duckscriptsdk/tls-rustls"]

duckscript_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckscriptsdk"
3-
version = "0.11.0"
3+
version = "0.11.1"
44
authors = ["Sagie Gur-Ari <sagiegurari@gmail.com>"]
55
description = "The duckscript SDK."
66
license = "Apache-2.0"

duckscript_sdk/src/sdk/std/echo/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Command for CommandImpl {
2929

3030
fn run(&self, context: CommandInvocationContext) -> CommandResult {
3131
for argument in &context.arguments {
32-
if let Err(error) = write!(context.env.out, "{}", argument) {
32+
if let Err(error) = write!(context.env.out, "{} ", argument) {
3333
return CommandResult::Error(error.to_string());
3434
}
3535
}

0 commit comments

Comments
 (0)