Skip to content

Commit a5d399f

Browse files
authored
Update src/std/main.ab
1 parent 330e34e commit a5d399f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/std/main.ab

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub fun lines(text: Text): [Text] {
4242

4343
pub fun words(text: Text): [Text] {
4444
let result = [Text]
45+
let trimmed = trim(text)
4546
unsafe $IFS=\$' ' read -rd '' -a {nameof result} <<<"\${nameof text}"$
4647
return result
4748
}

0 commit comments

Comments
 (0)