Skip to content

Commit

Permalink
[server/config] add dist flag to config context (#26545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored Dec 4, 2018
1 parent b4721ab commit 3e1b98e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ export class Config {
version: _.get(pkg, 'version'),
branch: _.get(pkg, 'branch'),
buildNum: IS_KIBANA_DISTRIBUTABLE ? pkg.build.number : Number.MAX_SAFE_INTEGER,
buildSha: IS_KIBANA_DISTRIBUTABLE ? pkg.build.sha : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
buildSha: IS_KIBANA_DISTRIBUTABLE ? pkg.build.sha : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
dist: IS_KIBANA_DISTRIBUTABLE,
};

if (!context.dev && !context.prod) {
Expand Down

0 comments on commit 3e1b98e

Please sign in to comment.