Move process-stats methods to process
This commit is contained in:
parent
b51be9b83f
commit
ae2eec3efa
3 changed files with 2 additions and 7 deletions
|
@ -21,12 +21,6 @@ exports.defineProperties = function (exports) {
|
|||
return require('../native-image')
|
||||
}
|
||||
},
|
||||
processStats: {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return require('../process-stats')
|
||||
}
|
||||
},
|
||||
shell: {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
module.exports = process.atomBinding('process_stats')
|
|
@ -46,3 +46,5 @@ if (process.type === 'browser') {
|
|||
if (process.platform === 'win32' && __dirname.indexOf('\\Program Files\\WindowsApps\\') === 2) {
|
||||
process.windowsStore = true
|
||||
}
|
||||
|
||||
Object.assign(Object.getPrototypeOf(process), process.atomBinding('process_stats'))
|
||||
|
|
Loading…
Reference in a new issue