🐛 Fix RDS compress file issue
All checks were successful
release-nightly / build-docker (push) Successful in 1m8s

This commit is contained in:
LittleSheep 2023-12-10 17:42:24 +08:00
parent f497ff6c6c
commit 949f3d893b

View File

@ -33,7 +33,7 @@ var DeployCommands = []*cli.Command{
// Prepare file to upload // Prepare file to upload
log.Info().Msg("Preparing file to upload, please stand by...") log.Info().Msg("Preparing file to upload, please stand by...")
filelist, err := archiver.FilesFromDisk(nil, map[string]string{ filelist, err := archiver.FilesFromDisk(&archiver.FromDiskOptions{FollowSymlinks: true}, map[string]string{
lo.Ternary(ctx.Args().Len() > 3, ctx.Args().Get(4), "."): "", lo.Ternary(ctx.Args().Len() > 3, ctx.Args().Get(4), "."): "",
}) })
if err != nil { if err != nil {