mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add tests
This commit is contained in:
parent
7b79d24ad5
commit
271abb7bc4
4 changed files with 128 additions and 10 deletions
|
@ -5,7 +5,7 @@ export type UpdatesChannel = "stable" | "nightly";
|
|||
|
||||
export const NIGHTLY_TAG = "nightly";
|
||||
|
||||
export type RunnableEnvCfg = Record<string, string> | [{ mask?: string, env: Record<string, string>; }]
|
||||
export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string, env: Record<string, string>; }[];
|
||||
|
||||
export class Config {
|
||||
readonly extensionId = "matklad.rust-analyzer";
|
||||
|
@ -117,7 +117,7 @@ export class Config {
|
|||
}
|
||||
|
||||
get runnableEnv() {
|
||||
return this.get<RunnableEnvCfg | undefined>("runnableEnv");
|
||||
return this.get<RunnableEnvCfg>("runnableEnv");
|
||||
}
|
||||
|
||||
get debug() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue