Firestore's delete script's last line printed to stdout does not end in a newline character.
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 7.6.1
Platform: Ubuntu
[REQUIRED] Test case
Run firebase firestore:delete
and observe that the last line printed to stdout does not end in a newline character, resulting in an awkward UX.
[REQUIRED] Steps to reproduce
See “Test case”.
[REQUIRED] Expected behavior
This script should print a newline character after printing Deleted N docs (X docs/s)
.
[REQUIRED] Actual behavior
The last line does not end in a newline, which results in an awkward UX that looks like:
firebase firestore:delete ...
Deleted N docs (X docs/s)dcthetall@mymachine:~/some/dir$
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Remove end of line characters from stdout? Multiple lines into ...
I was expecting the following command to replace each newline character with the space character. This would take the multiple lines and combine ......
Read more >Removing a newline character at the end of a file
You can read it as: "check if last line is an empty line. if so delete this line". I tested with both cases:...
Read more >bq command-line tool reference | BigQuery - Google Cloud
This reference provides a synopsis, description, examples, flags, and arguments for each command in bq, the BigQuery command line tool.
Read more >Chapter 4. Loading Data into BigQuery - O'Reilly
In this case, we are asking bq to load the dataset, informing the tool that the source format is CSV and that we...
Read more >How To Replace "\N" With Newline In Awk - ADocLib
No newline at end of file --- > foo $ echo $? 1 $ sed -e '$a\' ... by a I want to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@DCtheTall absolutely would accept a PR, thanks for the offer! Just @-mention me when you send it.
@DCtheTall thank you for your contribution!