MCPcopy Create free account
hub / github.com/EvoMap/evolver / restorePlatform

Function restorePlatform

test/runtimePaths.test.js:99–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 Object.defineProperty(process, 'platform', { value: value, configurable: true });
98 }
99 function restorePlatform() {
100 if (_realPlatform) Object.defineProperty(process, 'platform', _realPlatform);
101 }
102
103 // Node's `path` binds its separator to the real host OS at load time —
104 // overriding process.platform does NOT make path.join emit backslashes on a

Callers 1

teardownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected