src/time/last-commit.js
Function past
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
past () {
return new Promise((resolve, reject) => {
shell.exec('git status -s', (_code, stdout) => {
this.checkout = stdout.length == 0
return this.git.stash(['--all']).then(() => {