12 lines
306 B
JavaScript
12 lines
306 B
JavaScript
|
|
/* global Bare */
|
||
|
|
|
||
|
|
// This export SHOULD NOT be shortened in any way as having the full
|
||
|
|
// `module.exports = require(...)` statement is crucial for synthesizing
|
||
|
|
// ESM exports.
|
||
|
|
|
||
|
|
if (Bare.platform === 'win32') {
|
||
|
|
module.exports = require('./lib/win32')
|
||
|
|
} else {
|
||
|
|
module.exports = require('./lib/posix')
|
||
|
|
}
|