cat : TrimSuffix always
This commit is contained in:
parent
63b27faf29
commit
5c1aaeeefc
2 changed files with 5 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ func cat(files []string) (string, error) {
|
|||
for _, f := range files {
|
||||
dat, err := os.ReadFile(f)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("error opening file: %w", err)
|
||||
return "", fmt.Errorf("error opening target file: %w", err)
|
||||
}
|
||||
ff = append(ff, string(dat))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue