mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fixes some spots we're still using camel case
This commit is contained in:
parent
3a8bbf8c7a
commit
6124c3b377
4 changed files with 5 additions and 5 deletions
|
@ -43,7 +43,7 @@ module.exports = function (grunt) {
|
|||
return 'plugins/' + dirname(fileName) + '/index';
|
||||
});
|
||||
|
||||
config.bundledPluginModuleIds = grunt.bundledPluginModuleIds = moduleIds;
|
||||
config.bundled_plugin_module_ids = grunt.bundled_plugin_module_ids = moduleIds;
|
||||
|
||||
// load plugins
|
||||
require('load-grunt-config')(grunt, {
|
||||
|
|
|
@ -23,7 +23,7 @@ module Kibana
|
|||
set :external_plugins_folder, Kibana.global_settings[:external_plugins_folder]
|
||||
set :httponly, true
|
||||
set :config, config
|
||||
set :bundled_plugin_ids, config['bundledPluginIds'] || []
|
||||
set :bundled_plugin_ids, config['bundled_plugin_ids'] || []
|
||||
|
||||
set :show_exceptions, false
|
||||
set :raise_errors, false
|
||||
|
|
|
@ -59,7 +59,7 @@ module.exports = function (grunt) {
|
|||
|
||||
// include bundled plugins in the build
|
||||
var main = config.build.options.modules[0];
|
||||
grunt.bundledPluginModuleIds.forEach(function (moduleId) {
|
||||
grunt.bundled_plugin_module_ids.forEach(function (moduleId) {
|
||||
main.include.push(moduleId);
|
||||
});
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ module.exports = function (grunt) {
|
|||
});
|
||||
|
||||
grunt.registerTask('describe_bundled_plugins', function () {
|
||||
var configKey = 'bundledPluginIds';
|
||||
var configKey = 'bundled_plugin_ids';
|
||||
var file = grunt.config.process('<%= build %>/dist/kibana/config/kibana.yml');
|
||||
var idList = grunt.config.get('bundledPluginModuleIds').map(function (id) {
|
||||
var idList = grunt.config.get('bundled_plugin_module_ids').map(function (id) {
|
||||
return ' - ' + id;
|
||||
}).join('\n');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue