mirror of
https://github.com/nushell/nushell.git
synced 2025-04-29 15:44:28 +02:00
Fix missing import in tests
This commit is contained in:
parent
22d9b7123a
commit
6372a4bf02
@ -287,6 +287,8 @@ export def run-tests [
|
|||||||
--list, # list the selected tests without running them.
|
--list, # list the selected tests without running them.
|
||||||
--threads: int@"nu-complete threads", # Amount of threads to use for parallel execution. Default: All threads are utilized
|
--threads: int@"nu-complete threads", # Amount of threads to use for parallel execution. Default: All threads are utilized
|
||||||
] {
|
] {
|
||||||
|
use std log
|
||||||
|
|
||||||
let available_threads = (sys cpu | length)
|
let available_threads = (sys cpu | length)
|
||||||
|
|
||||||
# Can't use pattern matching here due to https://github.com/nushell/nushell/issues/9198
|
# Can't use pattern matching here due to https://github.com/nushell/nushell/issues/9198
|
||||||
|
Loading…
Reference in New Issue
Block a user