Support the new path of Yarn v2 pnpify SDK (#181)
Pnpify SDKs are not located in `.vscode/pnpify` anymore. It's in
`.yarn/sdks` instead. Adding it to MODULE_FOLDERS.
Reference:
https://github.com/yarnpkg/berry/pull/1446
https://github.com/yarnpkg/berry/pull/1481
52f625c453
This commit is contained in:
parent
50d6c6241a
commit
8113366d5e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export class TypeScriptVersion {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const MODULE_FOLDERS = ['node_modules/typescript/lib', '.vscode/pnpify/typescript/lib']
|
const MODULE_FOLDERS = ['node_modules/typescript/lib', '.vscode/pnpify/typescript/lib', '.yarn/sdks/typescript/lib']
|
||||||
|
|
||||||
export class TypeScriptVersionProvider {
|
export class TypeScriptVersionProvider {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue