Skip to content

Commit 7d76795

Browse files
committed
jeez be tolerant of newlines
1 parent aefdfa5 commit 7d76795

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[`install.sh`](./install.sh) is delivered when you `curl tea.xyz`.
44

5-
# GitHub Action 0.6.12
5+
# GitHub Action 0.6.13
66

77
This repository also provides the `tea` GitHub Action.
88

action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function go() {
4444
const chunks = []
4545
rsp.on("data", x => chunks.push(x))
4646
rsp.on("end", () => {
47-
resolve(chunks.join("").split("\n").at(-1))
47+
resolve(chunks.join("").trim().split("\n").at(-1))
4848
})
4949
}).on('error', reject)
5050
})

0 commit comments

Comments
 (0)