1
0
mirror of synced 2025-12-20 18:36:31 -05:00

Prep for ts-node (#30587)

This commit is contained in:
Kevin Heis
2022-09-08 08:45:13 -07:00
committed by GitHub
parent 37412ea5b0
commit 7523a7c460
14 changed files with 20 additions and 20 deletions

View File

@@ -50,7 +50,7 @@ export async function getTreeSha(owner, repo, commitSha) {
}
// https://docs.github.com/rest/reference/git#get-a-tree
export async function getTree(owner, repo, ref, allowedPaths = []) {
export async function getTree(owner, repo, ref) {
const commitSha = await getCommitSha(owner, repo, ref)
const treeSha = await getTreeSha(owner, repo, commitSha)
try {