Skip to content

Commit

Permalink
ci: up
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jun 21, 2024
1 parent 32ca817 commit ed2aaf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/win32-api/src/util/user32/GetWindowTextW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ export async function GetWindowTextW(
const len2 = Math.min(resLength, nMaxCount - 1)

const title = bufferToString(buf, len2)
return title ?? ''
return title || ''
}

3 changes: 2 additions & 1 deletion packages/win32-api/test/root.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { join } from 'node:path'

import { genCurrentDirname } from '@waiting/shared-core'

import { isWinLocaleChinese } from './util.js'


Expand All @@ -19,7 +20,7 @@ export interface TestConfig {
testDir: string
testAppDir: string
CI: boolean
isWinChinese : boolean
isWinChinese: boolean
}

const testAppDir = join(testDir, 'fixtures', 'base-app')
Expand Down

0 comments on commit ed2aaf0

Please sign in to comment.