File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,16 +122,16 @@ func (h *GazelleHost) loadEnvStarzellePlugins() {
122122 BazelLog .Warnf ("No orion plugins found in %q" , builtinPluginDir )
123123 }
124124
125+ // Sort to ensure a consistent order not dependent on the fs or glob ordering.
126+ sort .Strings (builtinDirPlugins )
127+
125128 builtinPlugins = append (builtinPlugins , builtinDirPlugins ... )
126129 }
127130
128131 if len (builtinPlugins ) == 0 {
129132 return
130133 }
131134
132- // Sort to ensure a consistent order not dependent on the fs or glob ordering.
133- sort .Strings (builtinPlugins )
134-
135135 // Split the plugin paths to dir + rel for better logging and load API
136136 // Only relativize if builtinPluginDir is not absolute
137137 for i , p := range builtinPlugins {
You can’t perform that action at this time.
0 commit comments