We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e351afc commit 5079f47Copy full SHA for 5079f47
.changeset/funny-spies-melt.md
@@ -0,0 +1,7 @@
1
+---
2
+"wrangler": patch
3
4
+
5
+fix: do not render "value of stdout.lastframe() is undefined" if the output is an empty string
6
7
+Fixes #2907
packages/wrangler/src/utils/render.ts
@@ -83,7 +83,7 @@ export const render = (tree: ReactElement): Instance => {
83
});
84
85
return {
86
- output: stdout.lastFrame() || LASTFRAME_UNDEFINED,
+ output: stdout.lastFrame() ?? LASTFRAME_UNDEFINED,
87
stdout,
88
stderr,
89
cleanup: instance.cleanup,
0 commit comments