olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.41k stars 489 forks source link

Convert unnecessary async calls to sync #176

Closed olistic closed 6 years ago

olistic commented 6 years ago

Also, use native modules whenever it's convenient.

codecov-io commented 6 years ago

Codecov Report

Merging #176 into master will decrease coverage by 0.27%. The diff coverage is 87.3%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   92.37%   92.09%   -0.28%     
==========================================
  Files          83       83              
  Lines        1062     1063       +1     
  Branches      178      182       +4     
==========================================
- Hits          981      979       -2     
- Misses         66       69       +3     
  Partials       15       15
Impacted Files Coverage Δ
packages/warriorjs-cli/src/ProfileGenerator.js 88.23% <80%> (-11.77%) :arrow_down:
packages/warriorjs-cli/src/Game.js 53.75% <80.76%> (+0.58%) :arrow_up:
packages/warriorjs-cli/src/Profile.js 96.29% <96.29%> (-0.9%) :arrow_down:

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 6c37289...1a4c40a. Read the comment docs.