management/front/dkha-web-sz-main/node_modules/homedir-polyfill/index.js

10 lines
168 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
'use strict';
var os = require('os');
if (typeof os.homedir !== 'undefined') {
module.exports = os.homedir;
} else {
module.exports = require('./polyfill.js');
}