Remove hardcoded version

pull/5692/head
Rodrigo Nascimento 9 years ago
parent aae98863be
commit 8f62e07b8d
No known key found for this signature in database
GPG Key ID: 2C85B3AFE75D23F9
  1. 4
      server/startup/serverRunning.coffee

@ -15,7 +15,7 @@ Meteor.startup ->
Meteor.setTimeout ->
msg = [
"Rocket.Chat Version: #{RocketChat.Info.version}"
" NodeJS Version: #{'7.6.2'} - #{process.arch}"
" NodeJS Version: #{process.versions.node} - #{process.arch}"
" Platform: #{process.platform}"
" Process Port: #{process.env.PORT}"
" Site URL: #{RocketChat.settings.get('Site_Url')}"
@ -30,7 +30,7 @@ Meteor.startup ->
msg = msg.join('\n')
if semver.satisfies('7.6.2', desiredNodeVersionMajor)
if semver.satisfies(process.versions.node, desiredNodeVersionMajor)
SystemLogger.startup_box msg, 'SERVER RUNNING'
else
msg += [

Loading…
Cancel
Save