stdlib/aws/s3: removed trailing \\n

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-05-31 15:23:55 +02:00
parent e86963eea3
commit 21b259fc86

View File

@ -76,7 +76,7 @@ import (
opts="--content-type $CONTENT_TYPE" opts="--content-type $CONTENT_TYPE"
fi fi
aws s3 $op $opts /source "$TARGET" aws s3 $op $opts /source "$TARGET"
echo "$TARGET" \ echo -n "$TARGET" \
| sed -E 's=^s3://([^/]*)/=https://\1.s3.amazonaws.com/=' \ | sed -E 's=^s3://([^/]*)/=https://\1.s3.amazonaws.com/=' \
> /url > /url
"""#, """#,