javascript - node git returning blame object -


i trying use nodegit nodegit.org blame of file using blame.file() returns me blame object rather actual git blame output. please correct me im using wrong.

   git.repository.open("./tmp").then((repo) => {       git.blame.file(repo, "package.json", "-p").then((b) => {         console.log(b);       });     }); 


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -