Skip to content

Commit

Permalink
AlwaysTrust: Fix disabling suspicious file popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed Dec 3, 2024
1 parent d70e0f2 commit 3f61fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/alwaysTrust/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default definePlugin({
{
find: "bitbucket.org",
replacement: {
match: /function \i\(\i\){(?=.{0,60}\.parse\(\i\))/,
match: /function \i\(\i\){(?=.{0,30}pathname:\i)/,
replace: "$&return null;"
},
predicate: () => settings.store.file
Expand Down

0 comments on commit 3f61fe7

Please sign in to comment.