fix: 🚨 Fix further DeepSource issues

This commit is contained in:
Jesse Wierzbinski 2025-07-07 05:12:23 +02:00
parent 870b6dbe85
commit 0bf5f7c983
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -108,7 +108,10 @@ export class PluginLoader {
* @returns {Promise<Manifest>} - The parsed manifest object.
* @throws Will throw an error if the manifest file is missing or invalid.
*/
public async parseManifest(dir: string, plugin: string): Promise<Manifest> {
public static async parseManifest(
dir: string,
plugin: string,
): Promise<Manifest> {
const manifestFile = await PluginLoader.findManifestFile(
`${dir}/${plugin}`,
);
@ -178,7 +181,7 @@ export class PluginLoader {
return Promise.all(
plugins.map(async (plugin) => {
const manifest = await this.parseManifest(dir, plugin);
const manifest = await PluginLoader.parseManifest(dir, plugin);
// If autoload is disabled, only load plugins explicitly enabled
if (

View file

@ -165,7 +165,7 @@ export const automaticOidcFlow = async (
const authServer = await getAuthServer(issuerUrl);
const parameters = await getParameters(
const parameters = getParameters(
authServer,
issuer.client_id,
currentUrl,