Skip to content

Commit

Permalink
remove some debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
cannist committed Feb 1, 2022
1 parent e836f97 commit ec0b3ae
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions lib/upload-lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/upload-lib.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,12 @@ export const determineMergeBaseCommitOid = async function (): Promise<
}
).exec();

core.info("commitOid="+commitOid+" baseOid="+baseOid+" headOid="+headOid); //TODO remove debug line

// Let's confirm our assumptions: We had a merge commit and the parsed parent data looks correct
if (
commitOid === mergeSha &&
headOid.length === 40 &&
baseOid.length === 40
) {
core.info("Returning " + baseOid); // TODO remove debug line
return baseOid;
}
return undefined;
Expand Down
2 changes: 0 additions & 2 deletions src/upload-lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,6 @@ export function buildPayload(
}
}
}
core.info("Using base ref: " + payloadObj.base_ref);
core.info("USing base sha: " + payloadObj.base_sha);
return payloadObj;
} else {
return {
Expand Down

0 comments on commit ec0b3ae

Please sign in to comment.