wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
277 stars 41 forks source link

WakaTime project file always has priority even when empty #966

Closed alanhamlett closed 11 months ago

alanhamlett commented 11 months ago

When the .wakatime-project file is empty, still overwrite project... using the folder as project name.

codecov[bot] commented 11 months ago

Codecov Report

Merging #966 (9917f67) into develop (36f6372) will increase coverage by 0.55%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #966      +/-   ##
===========================================
+ Coverage    62.36%   62.92%   +0.55%     
===========================================
  Files          372      372              
  Lines        15660    15894     +234     
===========================================
+ Hits          9767    10001     +234     
  Misses        5366     5366              
  Partials       527      527              
Flag Coverage Δ
unittests 62.92% <100.00%> (+0.55%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pkg/project/file.go 75.00% <100.00%> (+0.92%) :arrow_up:
pkg/project/project.go 93.82% <100.00%> (+5.63%) :arrow_up: