Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lint & code style #5

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions perf-measures/bundle-check/scripts/check-bundle-size.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as os from 'os'
import * as path from 'path'
import * as esbuild from 'esbuild'
import * as fs from 'node:fs'
import * as os from 'os'
import * as path from 'path'

async function main() {
const tempDir = os.tmpdir()
Expand Down
4 changes: 3 additions & 1 deletion perf-measures/type-check/scripts/process-results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ async function main() {
}
const metrics = []
for await (const line of rl) {
if (!line || line.trim() === '') continue
if (!line || line.trim() === '') {
continue
}
const [name, value] = line.split(':')
const unitMatch = value?.trim().match(/^(\d+(\.\d+)?)([a-zA-Z]*)$/)
if (unitMatch) {
Expand Down
Loading