Chen1Plus ac12b02437
fix wrong error msg of save command on windows (#14699)
fixes #14664 

# Description

Now,

```nu
"aaa" | save -f ..
```

returns correct error message on windows.

Note that the fix introduces a TOCTOU problem, which only effects the
error message. It won't break any workload.

# User-Facing Changes

The fix won't break any workload.

# Tests + Formatting

I have run tests **only on windows**.

# After Submitting

The fix doesn't need to change documentation.
2025-01-07 07:36:42 +08:00
..
2024-11-17 19:31:36 -06:00
2024-12-17 17:01:23 +01:00
2022-11-22 16:58:11 -08:00
2024-05-23 02:05:27 +00:00
2024-05-23 02:05:27 +00:00
2023-10-24 12:48:05 -05:00
2024-10-11 06:43:12 -05:00
2025-01-04 16:41:03 -05:00
2024-05-03 08:36:10 +08:00
2024-12-18 06:36:04 -06:00
2025-01-02 06:26:46 -06:00
2024-04-16 19:08:58 +08:00
2024-12-03 20:45:31 -06:00
2023-04-28 13:25:44 +02:00
2024-02-17 10:51:20 +02:00
2023-04-28 13:25:44 +02:00
2024-12-28 08:19:48 -06:00
2024-05-03 08:36:10 +08:00
2024-05-03 08:36:10 +08:00
2025-01-02 06:26:46 -06:00
2024-03-11 19:46:04 +01:00
2024-07-19 04:16:09 +00:00