fix(FN-4777): add dedup default setting and lint-safe regex
Fusion-Task-Id: FN-4777 Fusion-Task-Lineage: ed00f639-c928-4c14-be1f-2b43db6022c7
This commit is contained in:
committed by
gsxdsm
parent
023a0cc6bd
commit
d89a4569f1
@@ -298,6 +298,7 @@ export const DEFAULT_PROJECT_SETTINGS = {
|
||||
githubCommentTemplate: undefined,
|
||||
githubTrackingEnabledByDefault: false,
|
||||
githubTrackingDefaultRepo: undefined,
|
||||
githubTrackingDedupEnabled: true,
|
||||
githubAuthMode: "gh-cli",
|
||||
githubAuthToken: undefined,
|
||||
autoBackupEnabled: false,
|
||||
|
||||
@@ -31,7 +31,7 @@ function stripTrailingGlob(path: string): string {
|
||||
}
|
||||
|
||||
function quoteIfNeeded(value: string): string {
|
||||
return /[/.\-]/.test(value) ? `"${value}"` : value;
|
||||
return /[./-]/.test(value) ? `"${value}"` : value;
|
||||
}
|
||||
|
||||
function toSearchText(candidate: { title: string; body: string | null }): string {
|
||||
|
||||
Reference in New Issue
Block a user