mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Clean
This commit is contained in:
@@ -113,7 +113,7 @@ function diagnosticsToText(d: Diagnostics): string {
|
||||
}
|
||||
|
||||
return JSON.stringify(d, replacer, 2)
|
||||
.replace(/ "/g, '')
|
||||
.replace(/ {2}"/g, '')
|
||||
.replace(/["{}\[\]]/g, '')
|
||||
.replace(/^[ \t]*\n/gm, '')
|
||||
.replace(/,\n/g, '\n')
|
||||
@@ -146,9 +146,6 @@ const LoadedAboutSettings = (props: {
|
||||
}, 2000)
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(diagnostics, null, 2))
|
||||
console.log(diagnosticsToText(diagnostics))
|
||||
|
||||
return <Col className={''}>
|
||||
<RuntimeInfo info={diagnostics.runtime}/>
|
||||
<WebBuildInfo info={diagnostics.web}/>
|
||||
|
||||
Reference in New Issue
Block a user