Commit b3085df
committed
fix(vscode): write mypy settings at ws scope
v0.4.18
applyAllocatorSetting wrote mypy.dmypyExecutable and
mypy.runUsingActiveInterpreter at WorkspaceFolder scope, the
only writes in the module not using Workspace scope. When the
window is opened via a .code-workspace file (where these keys
and cmk.mypy.allocator already live), the folder-scoped update
is rejected, so the reconcile threw and surfaced as "re-apply
failed". The previous weOwn guard masked it by short-circuiting
before the write; removing that guard made the write
unconditional and exposed the failure. Write at Workspace scope
to match the allocator setting and the user's existing values.
CMK-36081
Change-Id: Ib0609b8a1e619263603892f98f6d8f4f2430bca61 parent ea0fb7a commit b3085df
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments