Skip to content

Commit

Permalink
fix: sorted plugin list should not be reversed (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1991 authored Jul 5, 2022
1 parent 8f994fd commit 3df33a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class Scanner {
}
const { plugin } = this.configHandle.getMergedConfig(env);
const pluginSortedList = await PluginFactory.createFromConfig(plugin || {});
for (const plugin of pluginSortedList.reverse()) {
for (const plugin of pluginSortedList) {
if (!plugin.enable) continue;
this.setPluginMeta(plugin);
await this.walk(
Expand Down

0 comments on commit 3df33a9

Please sign in to comment.