Closed zhaoyuheng200 closed 1 year ago
... based on cli output.
simple-git has supported promises / async await since version 2.6.0 Import from 'simple-git/promise' has been deprecated.
Remove a cli warning message when linting.
Replace simple-git/promise require with simple-git
simple-git/promise
simple-git
Unit test passed on node14@mac. Run lint -g https://github.com/todogroup/repolinter.git works without issue.
lint -g https://github.com/todogroup/repolinter.git
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
... based on cli output.
Motivation
Remove a cli warning message when linting.
Proposed Changes
Replace
simple-git/promise
require withsimple-git
Test Plan
Unit test passed on node14@mac. Run
lint -g https://github.com/todogroup/repolinter.git
works without issue.(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)