Bruce Weirdan

Results 291 comments of Bruce Weirdan

> shouldn't the result still be `null|string` regardless if an issue is emitted or not? If it didn't affect the inference, having this option would be quite pointless, as users...

Only externals update `$env.LAST_EXIT_CODE`, internal commands (such as `cp` and `mv`) are not supposed to do this. You will have to use `try { mv a b } catch {...

@PapyElGringo any idea when it would be available on extensions.gnome.org?

> Is there an ergonomic way to add a newline I'm missing? `| lines | to text` will add a trailing newline even if it wasn't there in the input.

`or throw ...` works as expected: https://psalm.dev/r/76278468d2

@fdncred RFC 3339 doesn't specify the precision (it's neither milli, nor micro, nor nano, nor atto), it's just a _fraction_ of a second, which means the precision is implementation-dependent. In...

Simplified a bit: ```nushell use std assert cd / cd ................................................................................ assert equal "/" (pwd) ```

```nushell $table_example | where ($it | get $variable) != null ``` is even simpler.

Or something like this: ```nushell 1758744384000 | (0 | into datetime) + $in * 1ms ```

@NotTheDr01ds can you check on latest main (ec4063ce19578eb624ba56808ea65e844739942b atm)? `toolkit test` works for me with this commit, while it panics on 55a5652a9112a2ed7db2cacd914a378c7e68ea53 (the commit you reported).