Merge pull request #12003 from electron/tools-new-api

Fix deprecated API in tools/dump-version-info.js
This commit is contained in:
Cheng Zhao 2018-02-22 18:58:24 +09:00 committed by GitHub
commit f9c48e1fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ function getDate () {
function getInfoForCurrentVersion () {
var json = {}
json.version = process.versions['atom-shell']
json.version = process.versions.electron
json.date = getDate()
var names = ['node', 'v8', 'uv', 'zlib', 'openssl', 'modules', 'chrome']