diff --git a/src/platforms/GitHub/index.ts b/src/platforms/GitHub/index.ts index ca77dae..9f88a7a 100644 --- a/src/platforms/GitHub/index.ts +++ b/src/platforms/GitHub/index.ts @@ -1,4 +1,5 @@ import { GITHUB_OAUTH } from 'env' +import { Base64 } from 'js-base64' import { platform } from 'platforms' import * as React from 'react' import { useEvent } from 'react-use' @@ -52,6 +53,7 @@ function parseTreeData(treeData: GitHubAPI.TreeData, metaData: MetaData) { ) : undefined, contents: item.type === 'tree' ? [] : undefined, + sha: item.sha, } const parentNode = pathToNode.get(path) if (parentNode && parentNode.contents) {