code-server/main.js

12 lines
299 B
JavaScript
Raw Normal View History

2019-07-03 08:10:17 +08: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-03 05:55:54 +08:00
require("../../bootstrap-amd").load("vs/server/cli");