Skip to content

fix copy error #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

fix copy error #48

wants to merge 1 commit into from

Conversation

vortechron
Copy link
Contributor

sometimes, certain file does not delete and $file->getRealPath() return false. So we need to put some check before copy to avoid argument pass into copy() is empty error.

sometimes, certain file does not delete and $file->getRealPath() return false. So we need to put some check before copy to avoid argument pass into copy() is empty error.
@codecov-io
Copy link

Codecov Report

Merging #48 into master will decrease coverage by 1.63%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #48      +/-   ##
============================================
- Coverage     32.48%   30.84%   -1.64%     
- Complexity      104      111       +7     
============================================
  Files            13       13              
  Lines           274      295      +21     
============================================
+ Hits             89       91       +2     
- Misses          185      204      +19
Impacted Files Coverage Δ Complexity Δ
src/SourceRepositoryTypes/GithubRepositoryType.php 58.75% <0%> (-8.4%) 29 <0> (+3)
src/UpdaterServiceProvider.php 82.14% <0%> (-17.86%) 8% <0%> (+3%)
src/AbstractRepositoryType.php 15.9% <0%> (-1.17%) 20% <0%> (ø)
src/SourceRepository.php 0% <0%> (ø) 13% <0%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84d08a9...71c835f. Read the comment docs.

@codedge
Copy link
Owner

codedge commented Apr 5, 2019

Will be fixed in #58

@codedge codedge closed this Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants