mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Added back the missing "__rootDirectory" global so the CLI can find the typeshed directory.
This commit is contained in:
parent
240794dc43
commit
e71ad7d23a
@ -1,3 +1,6 @@
|
||||
// Stash the base directory into a global variable.
|
||||
(global as any).__rootDirectory = __dirname + '/dist/';
|
||||
|
||||
import { main } from 'pyright-internal/pyright';
|
||||
|
||||
main();
|
||||
|
Loading…
Reference in New Issue
Block a user