use closure instead of block (#602)

This commit is contained in:
WindSoilder 2023-09-12 21:41:12 +08:00 committed by GitHub
parent cfd7a7950b
commit e61b94efce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
# e.g: # e.g:
# spawn { echo 3 } # spawn { echo 3 }
export def spawn [ export def spawn [
command: block # the command to spawn command: closure # the command to spawn
] { ] {
let config_path = $nu.config-path let config_path = $nu.config-path
let env_path = $nu.env-path let env_path = $nu.env-path