appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
141 stars 29 forks source link

refactor: handling functions for cross-platform compatibility #166

Closed appleboy closed 1 year ago

appleboy commented 1 year ago

fix https://github.com/appleboy/drone-scp/pull/119

codecov-commenter commented 1 year ago

Codecov Report

Merging #166 (4506229) into master (8b578d1) will increase coverage by 0.64%. The diff coverage is 69.23%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   38.11%   38.76%   +0.64%     
==========================================
  Files           4        4              
  Lines         606      632      +26     
==========================================
+ Hits          231      245      +14     
- Misses        365      375      +10     
- Partials       10       12       +2     
Impacted Files Coverage Δ
command.go 57.14% <57.14%> (-42.86%) :arrow_down:
plugin.go 85.45% <76.00%> (-1.42%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.