Skip to content

Commit 2c94013

Browse files
committed
fix: try fix ci
1 parent 106dc49 commit 2c94013

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scripts/publish.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
import process from 'node:process'
33
import { dirname, join, resolve } from 'path'
44
import { fileURLToPath } from 'url'
5-
import { execa } from 'execa'
65
import fs from 'fs-extra'
76

7+
// No "exports" main defined in execa/node_modules/unicorn-magic/package.json
8+
const { execa } = await import('execa')
9+
810
const dir =
911
typeof __dirname === 'string'
1012
? __dirname

src/webview/components/settings/setting-item.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ export const SettingItem = ({
9595
'input',
9696
'textarea',
9797
'switch',
98-
'numberInput'
98+
'numberInput',
99+
'languageSelector',
100+
'themeSelector'
99101
].includes(config.renderOptions.type)
100102

101103
return (

0 commit comments

Comments
 (0)