Skip to content

Commit

Permalink
feat: using origin
Browse files Browse the repository at this point in the history
  • Loading branch information
tjsearsz committed Dec 7, 2022
1 parent d04eb5a commit 2821a6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ const main = async () => {
for (const file of lcovBaseArray) {
if (file.path.includes(".info")) {
// const rLcovBase = await promises.readFile(file.path, "utf8");
console.log((await getExecOutput("git", ["status"])).stdout);
const rLcovBase = (
await getExecOutput("git", [
"show",
`main:./${monorepoBasePath.split("/")[1]}/${
`origin/main:./${monorepoBasePath.split("/")[1]}/${
file.name
}/lcov-base.info`,
])
Expand Down

0 comments on commit 2821a6b

Please sign in to comment.