use spread operator
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2024-09-06 10:04:57 -05:00
parent 71ccccf88d
commit b47299c919
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -123,7 +123,7 @@ def main [
}
}
let result = (do {restic backup --host $env.HOSTNAME $paths} | complete)
let result = (do {restic backup --host $env.HOSTNAME ...$paths} | complete)
if $result.exit_code == 1 {
print "restic backup failed"
print ($result.stderr | str trim --right)