system_assignation/node_modules/homedir-polyfill/index.js

10 lines
168 B
JavaScript
Raw Normal View History

2022-03-24 09:22:39 -04:00
'use strict';
var os = require('os');
if (typeof os.homedir !== 'undefined') {
module.exports = os.homedir;
} else {
module.exports = require('./polyfill.js');
}