Move process-stats methods to process

This commit is contained in:
Paul Betts 2016-05-17 14:37:32 -07:00
parent b51be9b83f
commit ae2eec3efa
3 changed files with 2 additions and 7 deletions

View file

@ -21,12 +21,6 @@ exports.defineProperties = function (exports) {
return require('../native-image') return require('../native-image')
} }
}, },
processStats: {
enumerable: true,
get: function () {
return require('../process-stats')
}
},
shell: { shell: {
enumerable: true, enumerable: true,
get: function () { get: function () {

View file

@ -1 +0,0 @@
module.exports = process.atomBinding('process_stats')

View file

@ -46,3 +46,5 @@ if (process.type === 'browser') {
if (process.platform === 'win32' && __dirname.indexOf('\\Program Files\\WindowsApps\\') === 2) { if (process.platform === 'win32' && __dirname.indexOf('\\Program Files\\WindowsApps\\') === 2) {
process.windowsStore = true process.windowsStore = true
} }
Object.assign(Object.getPrototypeOf(process), process.atomBinding('process_stats'))