File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ function diagnosticsToText(d: Diagnostics): string {
113113 }
114114
115115 return JSON . stringify ( d , replacer , 2 )
116+ . replace ( / " / g, '' )
116117 . replace ( / [ " { } \[ \] ] / g, '' )
117118 . replace ( / ^ [ \t ] * \n / gm, '' )
118119 . replace ( / , \n / g, '\n' )
@@ -145,11 +146,14 @@ const LoadedAboutSettings = (props: {
145146 } , 2000 )
146147 }
147148
149+ console . log ( JSON . stringify ( diagnostics , null , 2 ) )
150+ console . log ( diagnosticsToText ( diagnostics ) )
151+
148152 return < Col className = { '' } >
153+ < RuntimeInfo info = { diagnostics . runtime } />
149154 < WebBuildInfo info = { diagnostics . web } />
150155 < AndroidInfo info = { diagnostics . android } />
151156 < BackendInfo info = { diagnostics . backend } />
152- < RuntimeInfo info = { diagnostics . runtime } />
153157 < Button
154158 onClick = { handleCopy }
155159 className = "w-fit mt-4"
@@ -210,6 +214,5 @@ const RuntimeInfo = (props: {info?: Runtime}) => {
210214 return < Col className = { 'custom-link' } >
211215 < h3 > Runtime</ h3 >
212216 < p > Platform: { info . platform } </ p >
213- < p > Env: { JSON . stringify ( Object . fromEntries ( Object . entries ( process . env ) . sort ( ) ) , null , 2 ) } </ p >
214217 </ Col >
215218}
You can’t perform that action at this time.
0 commit comments