Abheek Dhawan
4 years ago
1 changed files with 0 additions and 14 deletions
@ -1,14 +0,0 @@ |
|||||
const gitlog = require("gitlog").default; |
|
||||
|
|
||||
let parentFolder = __dirname.split("/"); |
|
||||
parentFolder.pop(); |
|
||||
parentFolder = parentFolder.join("/"); |
|
||||
console.log(parentFolder); |
|
||||
|
|
||||
const commits = gitlog({ |
|
||||
repo: __dirname, |
|
||||
number: 20, |
|
||||
fields: ["hash", "abbrevHash", "subject", "authorName", "authorDateRel"], |
|
||||
}); |
|
||||
|
|
||||
//console.log(commits);
|
|
Loading…
Reference in new issue