Skip to content

Commit cf90487

Browse files
committed
make test pass
1 parent ce5eff4 commit cf90487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const downloadInput = async (year, day, authenticationToken) => {
5353
}
5454

5555
// expect text of response is the input.
56-
const text = (await response.text())?.trim() || '';
56+
const text = (await response.text())?.trimEnd() || '';
5757
logger.debug('downloaded: %s', sizeOfStringInKb(text));
5858

5959
if (!text) {

0 commit comments

Comments
 (0)