pyright/index.js

7 lines
147 B
JavaScript

#!/usr/bin/env node
// Stash the base directory into a global variable.
global.__rootDirectory = __dirname + '/dist/';
require('./dist/pyright')