Skip to content
Snippets Groups Projects
Commit e8709555 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Renamed RocketChat.Version to RocketChat.Info

parent e44f8185
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ exec = Npm.require('child_process').exec
os = Npm.require('os')
Plugin.registerCompiler
extensions: ['version']
extensions: ['info']
, -> new VersionCompiler()
......@@ -39,7 +39,7 @@ class VersionCompiler
output.branch = result.replace('\n', '')
output = """
RocketChat.Version = #{JSON.stringify(output, null, 4)}
RocketChat.Info = #{JSON.stringify(output, null, 4)}
"""
file.addJavaScript({ data: output, path: file.getPathInPackage() + '.js' });
File moved
......@@ -5,7 +5,7 @@ Api = new Restivus
Api.addRoute 'info', authRequired: false,
get: -> RocketChat.Version
get: -> RocketChat.Info
Api.addRoute 'version', authRequired: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment