popomore / projj

Manage repository easily.
MIT License
266 stars 40 forks source link

fix: fix the path error on windows #60

Closed w1zd closed 3 years ago

w1zd commented 3 years ago
  1. windows doesnt have /dev/null, use NUL instead.
  2. root dir in windows looks like D: C:, add related logic to function resolveConfig

44

codecov[bot] commented 3 years ago

Codecov Report

Merging #60 (b55b4d9) into master (b2ef85c) will decrease coverage by 0.34%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   98.86%   98.51%   -0.35%     
==========================================
  Files          13       13              
  Lines         351      405      +54     
  Branches        0       57      +57     
==========================================
+ Hits          347      399      +52     
- Misses          4        6       +2     
Impacted Files Coverage Δ
lib/base_command.js 98.49% <80.00%> (-0.62%) :arrow_down:
lib/cache.js 97.72% <0.00%> (-2.28%) :arrow_down:
lib/program.js 100.00% <0.00%> (ø)
lib/command/run.js 100.00% <0.00%> (ø)
lib/command/find.js 100.00% <0.00%> (ø)
lib/command/init.js 100.00% <0.00%> (ø)
lib/command/sync.js 100.00% <0.00%> (ø)
lib/command/remove.js 100.00% <0.00%> (ø)
lib/command/runall.js 100.00% <0.00%> (ø)
... and 2 more

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 b2ef85c...b55b4d9. Read the comment docs.