diff --git a/bundle/config/mutator/mutator.go b/bundle/config/mutator/mutator.go index 9a2c828b..ae0d7e5f 100644 --- a/bundle/config/mutator/mutator.go +++ b/bundle/config/mutator/mutator.go @@ -9,12 +9,12 @@ import ( func DefaultMutators() []bundle.Mutator { return []bundle.Mutator{ - // Execute preinit script before loading any configuration files. + loader.EntryPoint(), + + // Execute preinit script before processing includes. // It needs to be done before processing configuration files to allow // the script to modify the configuration or add own configuration files. scripts.Execute(config.ScriptPreInit), - - loader.EntryPoint(), loader.ProcessRootIncludes(), // Verify that the CLI version is within the specified range.