Skip to content

Commit

Permalink
Revert "Fix output buffer pipe issue (#5310)" (#6358)
Browse files Browse the repository at this point in the history
This reverts commit 8cf0fd2.
  • Loading branch information
joehan authored Sep 12, 2023
1 parent 8cf0fd2 commit 34cb581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
- Released Firestore emulator v1.18.2.
- Removed nano precision in timestamp used in Firestore emulator (#5893)
- Fixed a bug where query behaves differently from production.
- Fixed an issue where very long command outputs would be cut off. (#3286)
5 changes: 3 additions & 2 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class Command {
}

/**
* Registers the command with the client. This is used to initially set up
* Registers the command with the client. This is used to inisially set up
* all the commands and wraps their functionality with analytics and error
* handling.
* @param client the client object (from src/index.js).
Expand Down Expand Up @@ -190,7 +190,7 @@ export class Command {
runner(...args)
.then(async (result) => {
if (getInheritedOption(options, "json")) {
process.stdout.write(
console.log(
JSON.stringify(
{
status: "success",
Expand Down Expand Up @@ -222,6 +222,7 @@ export class Command {
])
);
}
process.exit();
})
.catch(async (err) => {
if (getInheritedOption(options, "json")) {
Expand Down

0 comments on commit 34cb581

Please sign in to comment.