code-server/main.js

12 lines
299 B
JavaScript
Raw Normal View History

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