Carlo Cabrera f816a39d1f
cask/artifact/abstract_uninstall: fix trash_paths
This is currently behaving incorrectly when calling `trash.swift` fails
due to lack of permissions. In this instance, `trash.swift` prints

    error: permissionDenied

to stdout, and this is incorrectly parsed as having successfully trashed
a file named `error` and another named ` permissionDenied`.

Let's fix this by ensuring that:
- any paths in `trashed` are in the `paths` that we wanted to trash in
  the first place
- define `untrashable` by removing the `trashed` paths from `paths`
2025-04-24 18:03:07 +08:00
..
2025-03-05 20:12:18 +01:00
2025-04-02 16:34:28 +11:00
2025-01-14 08:14:39 -05:00
2025-03-05 20:12:18 +01:00
2024-10-02 10:03:12 -07:00
2024-12-12 00:01:30 -08:00
2024-10-06 09:25:57 -07:00
2025-03-20 18:07:30 +00:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-02-25 15:34:49 +00:00