1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-14 19:58:45 +00:00
code-server-2/main.js
2019-07-18 18:08:27 -05:00

12 lines
299 B
JavaScript

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");
}
require("../../bootstrap-amd").load("vs/server/cli");