Merge pull request #12014 from electron/backport-version-fix

Fix deprecated API in tools/dump-version-info.js for 2-0-x
This commit is contained in:
shelley vohr
2018-02-22 09:28:52 -05:00
committed by GitHub

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']