Skip to content

Commit

Permalink
feat: log git commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Nov 8, 2022
1 parent 8d5b596 commit a63bb8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/simpleGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export class SimpleGit extends GitManager {
const path = process.env["PATH"] + ":" + env.join(":");
process.env["PATH"] = path;
}
const debug = require('debug');

debug.enable('simple-git');
await this.git.cwd(await this.git.revparse("--show-toplevel"));

}
Expand Down

0 comments on commit a63bb8a

Please sign in to comment.