Skip to content

Commit 3353eb5

Browse files
committed
chore: remove leftover
1 parent e8855f1 commit 3353eb5

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/common.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,6 @@ func SearchFile(file string, dirs []string) string {
520520
if sc := strings.Index(file, ";"); sc >= 0 {
521521
file = strings.TrimSpace(file[:sc])
522522
}
523-
if len(file) >= 2 {
524-
q := file[0]
525-
if (q == '"' || q == '\'') && file[len(file)-1] == q {
526-
file = file[1 : len(file)-1]
527-
}
528-
}
529523
file = strings.Replace(file, "\\", "/", -1)
530524
if file == "" {
531525
return ""

0 commit comments

Comments
 (0)