Added back the missing "__rootDirectory" global so the CLI can find the typeshed directory.

This commit is contained in:
Eric Traut 2020-09-02 18:15:47 -07:00
parent 240794dc43
commit e71ad7d23a

View File

@ -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();