mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
fallback to old key
This commit is contained in:
parent
6c3e15aaa0
commit
3f70117d69
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ export class Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
get runnablesExtraEnv() {
|
get runnablesExtraEnv() {
|
||||||
const item = this.get<any>("runnables.extraEnv");
|
const item = this.get<any>("runnables.extraEnv") ?? this.get<any>("runnableEnv");
|
||||||
if (!item) return item;
|
if (!item) return item;
|
||||||
const fixRecord = (r: Record<string, any>) => {
|
const fixRecord = (r: Record<string, any>) => {
|
||||||
for (const key in r) {
|
for (const key in r) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue