mirror of
https://github.com/danog/code-server.git
synced 2024-12-14 02:07:28 +01:00
10 lines
181 B
JavaScript
10 lines
181 B
JavaScript
if (!global.NBIN_LOADED) {
|
|
try {
|
|
const nbin = require("nbin");
|
|
nbin.shimNativeFs("{{ROOT_PATH}}");
|
|
global.NBIN_LOADED = true;
|
|
} catch (error) {
|
|
// Not in the binary.
|
|
}
|
|
}
|