forked from zhurui/management
10 lines
168 B
JavaScript
10 lines
168 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var os = require('os');
|
||
|
if (typeof os.homedir !== 'undefined') {
|
||
|
module.exports = os.homedir;
|
||
|
} else {
|
||
|
module.exports = require('./polyfill.js');
|
||
|
}
|
||
|
|