1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 15:17:47 +00:00

remove build-string, which is deprecated (#390)

This commit is contained in:
baehyunsol 2023-02-23 23:43:22 +09:00 committed by GitHub
parent c3462c3a0b
commit d21cdfc0a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,6 @@ export def extract [name:string #name of the archive to extract
if ($command|is-empty) { if ($command|is-empty) {
echo 'Error! Unsupported file extension' echo 'Error! Unsupported file extension'
} else { } else {
nu -c (build-string $command.com ' ' $name) nu -c ($command.com + ' ' + $name)
} }
} }