We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5eff4 commit cf90487Copy full SHA for cf90487
src/api/api.js
@@ -53,7 +53,7 @@ export const downloadInput = async (year, day, authenticationToken) => {
53
}
54
55
// expect text of response is the input.
56
- const text = (await response.text())?.trim() || '';
+ const text = (await response.text())?.trimEnd() || '';
57
logger.debug('downloaded: %s', sizeOfStringInKb(text));
58
59
if (!text) {
0 commit comments