Skip to content

Commit

Permalink
fix: add getPluginsList
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 23, 2023
1 parent 58154c4 commit b01083f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ export class Config implements IConfig {
return url.toString()
}

public getPluginsList(): IPlugin[] {
return this.plugins
}

protected dir(category: 'cache' | 'data' | 'config'): string {
const base = process.env[`XDG_${category.toUpperCase()}_HOME`] ||
(this.windows && process.env.LOCALAPPDATA) ||
Expand Down

0 comments on commit b01083f

Please sign in to comment.