Skip to content

Commit d945c9e

Browse files
committed
Playground block: Read stderr information from /internal/stderr, not /tmp/stderr
Playground compatibility update after merging WordPress/wordpress-playground#1063
1 parent f13bc63 commit d945c9e

File tree

1 file changed

+1
-1
lines changed
  • packages/wordpress-playground-block/src/components/playground-preview

1 file changed

+1
-1
lines changed

packages/wordpress-playground-block/src/components/playground-preview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function PlaygroundPreview({
103103
withErrorLog: codeEditorErrorLog,
104104
getErrors: async () =>
105105
(await playgroundClientRef.current?.readFileAsText(
106-
'/tmp/stderr'
106+
'/internal/stderr'
107107
)) || '',
108108
});
109109

0 commit comments

Comments
 (0)