mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 09:05:00 +01:00
debughelp
This commit is contained in:
parent
5e214059e1
commit
8305e3f0fe
1 changed files with 3 additions and 3 deletions
|
|
@ -3,11 +3,11 @@ const child_process = require("child_process");
|
|||
const services = ["bar-service", "foo-service"];
|
||||
|
||||
function latestCommitInDirectory(dirname) {
|
||||
console.log(String(
|
||||
child_process.execSync(`git log -n 2 -- ${dirname}`)
|
||||
console.log(dirname, String(
|
||||
child_process.execSync(`git log --oneline -n 3 ${dirname}`)
|
||||
))
|
||||
return String(
|
||||
child_process.execSync(`git log --pretty=format:%H -n 1 -- ${dirname}`)
|
||||
child_process.execSync(`git log --pretty=format:%H -n 1 ${dirname}`)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue