Skip to content

Commit 5febcbb

Browse files
qianlongzthverlin
authored andcommitted
fix: ruff path type error
1 parent 18d9879 commit 5febcbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/supportedExtensions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const SUPPORTED_EXTENSIONS: Array<ConfigurableExtension> = [
9898
miseConfig,
9999
configKey: "ruff.path",
100100
binName: "ruff",
101+
valueTransformer: (bin: string) => [bin],
101102
}),
102103
configureSimpleExtension(miseService, {
103104
useShims,
@@ -106,6 +107,7 @@ export const SUPPORTED_EXTENSIONS: Array<ConfigurableExtension> = [
106107
miseConfig,
107108
configKey: "ruff.interpreter",
108109
binName: "python",
110+
valueTransformer: (bin: string) => [bin],
109111
}),
110112
]);
111113

0 commit comments

Comments
 (0)