Skip to content

Commit f9739d6

Browse files
carsakillersumneko
authored andcommitted
fix: disabling of addons
1 parent 34c70bb commit f9739d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/addon_manager/models/addon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class Addon {
278278
)) ?? []) as string[];
279279

280280
const regex = new RegExp(
281-
`[/\\\\]+sumneko.lua[/\\\\]+addonManager[/\\\\]+addons[/\\\\]+${this.name}`,
281+
`addons}?[/\\\\]+${this.name}[/\\\\]+module[/\\\\]+library`,
282282
"g"
283283
);
284284
const index = librarySetting.findIndex((path) => regex.test(path));

0 commit comments

Comments
 (0)