code-server-2/main.js

12 lines
299 B
JavaScript
Raw Normal View History

2019-07-03 00:10:17 +00:00
try {
const nbin = require("nbin");
const path = require("path");
const rootPath = path.resolve(__dirname, "../../..");
console.log("Shimming", rootPath);
nbin.shimNativeFs(rootPath);
} catch (error) {
console.log("Not in the binary");
}
2019-07-02 21:55:54 +00:00
require("../../bootstrap-amd").load("vs/server/cli");