Compare commits

..

No commits in common. "lunny/ignore_blank_file_line" and "main" have entirely different histories.

View File

@ -110,10 +110,7 @@ func getFiles(parentDir, files string) ([]string, error) {
lines := strings.Split(files, "\n")
for _, line := range lines {
line = strings.Trim(line, "'")
line = strings.TrimSpace(strings.Trim(line, `"`))
if line == "" {
continue
}
line = strings.Trim(line, `"`)
if filepath.IsAbs(line) {
return nil, fmt.Errorf("file path %s is absolute", line)
}