capistrano / capistrano/sshkit

excessive warning for files of size 0

Open
#391 13 comments 0 reactions 0 assignees View on GitHub
confirmed bug help wanted
Dominant language
Ruby
Stars
1.2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

transfer_summarizer produces a warning for files of size zero:

```
Error calculating percentage 0/0, is foo empty?
```

My feeling is that this warning is excessive as it implies that a file of size 0 is some kind of problem. Sshkit's output would be a bit less noisy if it just special-cased the percentage for files of size zero as 100%.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.